Dameon
"All the power in the world resides in the eyes"
- Reaction score
- 127
I read some where that you can use jass to detect which timer of a timer array expired and I wanted to know if it is true, and if it is can it be added to a condition like timer that expired equal to timer_main[1]. If it is possible can some one post the jass trigger for me.
I do things in GUI right now cause my spelling is bad but the trigger will be ment to revive a hero after his timer runes out. Some thing like this.
I will have a MI trigger adding the events for the trigger.
Only in jass and that works lol
I do things in GUI right now cause my spelling is bad but the trigger will be ment to revive a hero after his timer runes out. Some thing like this.
I will have a MI trigger adding the events for the trigger.
Code:
Revive Hero
Events
Conditions
Actions
For each (Integer Interger_Main[0]) from 1 to 10, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Expireing Timer Equal to Timer_RI[Interger_Main[0]]
Then - Actions
Hero - Instantly revive Unit_PH[Interger_Main[0]] at (Center of (Playable map area)), Hide revival graphics
Else - Actions
Only in jass and that works lol