HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Event Response - Expiring Timer

10-21-2004, 01:06 AM#1
Panto
Greetings.

When a timer expires, it can be set to a timer variable using the "Event Response - Expiring Timer".

I'm looking for some way to do a Timer comparison, but there's no such thing available in the GUI that I can find, and surfing blizzard.j and common.j has not yet returned any results.

In simpler speak, I want to be able to do "If ((Expiring Timer) = TimerVariable) then" but the necessary components to make that comparison don't seem to exist.

Any suggestions?
10-21-2004, 01:47 AM#2
Guest
Instead, try setting the timer to a variable when you create it. Then, make the trigger that needs to happen when the timer expires have the Event thing being A specific timer expires. Then set where it says 'last created timer' to whatever the variable was. Hope that makes sence :)
10-21-2004, 01:47 AM#3
weaaddar
use jass.
If GetExpiredTimer==udg_TimerVar then
10-21-2004, 02:01 AM#4
Panto
Perfect, thanks weaaddar.

Mhael, you actually can't use a generic timer expires event anyway. I'm referring to multiple timers expiring as events of one trigger.