- Joined
- Jun 2, 2009
- Messages
- 1,276
Hello everyone. I have a many timers in my map and if one of them expires,
I think timer restarts until my unit removed from ug_Oluler. But this trigger works once.
What am i missing in here?
-
TestTrigger
-

Events
-


Time - Dagger[2] expires
-
-

Conditions
-

Actions
-


For each (Integer A) from 1 to 12, do (Actions)
-



Loop - Actions
-




Custom script: if (GetExpiredTimer() == udg_Dagger[bj_forLoopAIndex]) then
-




Set TempIntegerDagger = (Integer A)
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(DaggerUnit[TempIntegerDagger] is in Oluler_ug) Equal to False
-






(Life of HeroOyuncu[TempIntegerDagger]) Greater than or equal to 2.00
-
-





Then - Actions
-






Game - Display to (All players) for 1.00 seconds the text: First 2 conditions ...
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(HeroOyuncu[TempIntegerDagger] has an item of type FAKE ITEM) Equal to True
-
-







Then - Actions
-








Item - Remove (Item carried by DaggerUnit[TempIntegerDagger] of type FAKE ITEM)
-








Hero - Create TRUE ITEM and give it to DaggerUnit[TempIntegerDagger]
-








Countdown Timer - Start Dagger[TempIntegerDagger] as a One-shot timer that will expire in 3.00 seconds
-
-







Else - Actions
-








Game - Display to (All players) for 1.00 seconds the text: Hero DOES NOT HAVE ...
-
-
-
-





Else - Actions
-






Game - Display to (All players) the text: 5
-
-
-




Custom script: exitwhen true
-




Custom script: endif
-




Game - Display to (All players) the text: 6
-
-
-
-
I think timer restarts until my unit removed from ug_Oluler. But this trigger works once.
What am i missing in here?







