I've seriously tried everything I can think of. I've moved it around, created it once, created it every time it's needed, recreated it, restarted it, but whenever I try and unpause this timer it just breaks horribly. What gives?
I've seriously tried everything I can think of. I've moved it around, created it once, created it every time it's needed, recreated it, restarted it, but whenever I try and unpause this timer it just breaks horribly. What gives?
You need to post your trigger and any variables used.
I would have, but it's....really convoluted. It's spread out through like 4 lengthy triggers, with several different modifications throughout the way. I'll try a couple more things and if those don't work, I'll be back.
Alright- so for whatever reason, after it's first 'Use' the global variable for the timer wasn't being recognized by the event 'GlobalTimer expires'- but if I use 'Any Timer Expires' and then check that it's ' == GlobalTimer' it works just fine. Weird. Whatever, it's solved regardless. Thanks for the help, guys.
Ah, I think I know what went wrong. Events, for the most part, don't do so well with dynamic variables, which is why it can't recognize using your timer in the event. For a specific event to work like "GlobalTimer expires," GlobalTimer would need to be a constant. If you would have posted your timer expiration trigger I could have pointed that out for you ;)
For the most part if you stick with having your events more generalized (ANY unit uses item, ANY timer expires, etc.) then qualify the result with a condition, your trigger will work if all else is done right. The only problem you may find with this rule-of-thumb is that too many events firing over a short period of time will cause some performance issues. But you need a lot of events firing at once.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've seriously tried everything I can think of. I've moved it around, created it once, created it every time it's needed, recreated it, restarted it, but whenever I try and unpause this timer it just breaks horribly. What gives?
Are you sure its setup properly include a global rather than a local variable for not only the timer window but the timer itself?
You need to post your trigger and any variables used.
I would have, but it's....really convoluted. It's spread out through like 4 lengthy triggers, with several different modifications throughout the way. I'll try a couple more things and if those don't work, I'll be back.
Alright- so for whatever reason, after it's first 'Use' the global variable for the timer wasn't being recognized by the event 'GlobalTimer expires'- but if I use 'Any Timer Expires' and then check that it's ' == GlobalTimer' it works just fine. Weird. Whatever, it's solved regardless. Thanks for the help, guys.
@Zetal: Go
Ah, I think I know what went wrong. Events, for the most part, don't do so well with dynamic variables, which is why it can't recognize using your timer in the event. For a specific event to work like "GlobalTimer expires," GlobalTimer would need to be a constant. If you would have posted your timer expiration trigger I could have pointed that out for you ;)
For the most part if you stick with having your events more generalized (ANY unit uses item, ANY timer expires, etc.) then qualify the result with a condition, your trigger will work if all else is done right. The only problem you may find with this rule-of-thumb is that too many events firing over a short period of time will cause some performance issues. But you need a lot of events firing at once.