sentrywiz
S
sentrywiz
I have these triggers:
It gets stuck somehow or it doesn't trigger at all. The trigger works for me, but not for the AI
Anyone knows why?
-
death and win
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Dying unit)) Equal to Fber
-
-
Actions
-
Countdown Timer - Start death_timer[(Player number of (Owner of (Dying unit)))] as a One-shot timer that will expire in 10.00 seconds
-
Set death_timer[(Player number of (Owner of (Dying unit)))] = (Last started timer)
-
Countdown Timer - Create a timer window for death_timer[(Player number of (Owner of (Dying unit)))] with title Revival
-
Set death_timer_window[(Player number of (Owner of (Dying unit)))] = (Last created timer window)
-
Countdown Timer - Show death_timer_window[(Player number of (Owner of (Triggering unit)))] for (Owner of (Dying unit))
-
-
rev me
-
Events
-
Time - death_timer[1] expires
-
Time - death_timer[2] expires
-
Time - death_timer[3] expires
-
Time - death_timer[4] expires
-
Time - death_timer[5] expires
-
Time - death_timer[6] expires
-
Time - death_timer[7] expires
-
Time - death_timer[8] expires
-
Time - death_timer[9] expires
-
Time - death_timer[10] expires
-
Time - death_timer[11] expires
-
Time - death_timer[12] expires
-
-
Conditions
-
Actions
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for death_timer[(Integer A)]) Equal to 0.00
-
-
Then - Actions
-
Set temp_loc = (Random point in (Playable map area))
-
Countdown Timer - Destroy death_timer_window[(Integer A)]
-
Hero - Instantly revive fber_hero[(Integer A)] at temp_loc, Show revival graphics
-
Selection - Select fber_hero[(Integer A)] for player[(Integer A)]
-
Camera - Pan camera for player[(Integer A)] to temp_loc over 0.00 seconds
-
Custom script: call RemoveLocation ( udg_temp_loc )
-
-
Else - Actions
-
-
-
-
-
It gets stuck somehow or it doesn't trigger at all. The trigger works for me, but not for the AI
Anyone knows why?