Jump to content
  • 0

How can I create a variable attached to a character that counts the completion time of an instance?


BonaPham

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.04
  • Content Count:  12
  • Reputation:   0
  • Joined:  01/23/24
  • Last Seen:  

Good day!

I'm trying to recreate the Old Glast Heim Challenge instance for my offline server. Everything seems to work, except for 1 thing. I created the .CompleteCount variable to count the times a character defeats the boss. When .CompleteCount > 5, I can enter Level 2. When .CompleteCount > 10, I can enter Level 3 and so on...
Thing is, that variable doesn't seem to store on my character. Inside the instance, when I kill the boss, the .CompleteCount goes up. But outside the instance, when I talk to the NPC that creates instance, the .CompleteCount is always 0, therefore I cannot enter Level 2 or 3...

Any help is appreciated. Thanks in advance!

OGHChallenge.txt

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

1 hour ago, BonaPham said:

Good day!

I'm trying to recreate the Old Glast Heim Challenge instance for my offline server. Everything seems to work, except for 1 thing. I created the .CompleteCount variable to count the times a character defeats the boss. When .CompleteCount > 5, I can enter Level 2. When .CompleteCount > 10, I can enter Level 3 and so on...
Thing is, that variable doesn't seem to store on my character. Inside the instance, when I kill the boss, the .CompleteCount goes up. But outside the instance, when I talk to the NPC that creates instance, the .CompleteCount is always 0, therefore I cannot enter Level 2 or 3...

Any help is appreciated. Thanks in advance!

OGHChallenge.txt 6.27 kB · 0 downloads

Why do you attach variable to NPC?

You count for character, no?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.04
  • Content Count:  12
  • Reputation:   0
  • Joined:  01/23/24
  • Last Seen:  

1 hour ago, botka4aet said:

Why do you attach variable to NPC?

You count for character, no?

No. I mean I want to attach a Variable to a Character, not NPC. It's like in the Old Glast Heim Challenge mode. When you complete the instance 1 time, it will count 1. When you complete the instance 5 times, it will count 5. When it counts 5, you can enter level 2 of the instance, which means stronger mobs and higher rewards.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

Change

.CompleteCount

to

OldGlastHeimChallenge

Without .

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.04
  • Content Count:  12
  • Reputation:   0
  • Joined:  01/23/24
  • Last Seen:  

3 minutes ago, botka4aet said:

Change

.CompleteCount

to

OldGlastHeimChallenge

Without .

Thank you very much. It works now.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...