- Joined
- Jul 18, 2010
- Messages
- 332
- Set team1 = (All allies of Player 1 (Red))
- Set team2 = (All allies of Player 6 (Orange))
- reviving heroes
- Events
- Unit - A unit Dies
- Conditions
- ((Dying unit) is A Hero) Equal to True
- Actions
- Unit Group - Add (Dying unit) to revivableheroes
- Countdown Timer - Start countdowntimer[(Player number of (Owner of (Dying unit)))] as a One-shot timer that will expire in 5.00 seconds
- reviving heroes Copy
- Events
- Time - countdowntimer[1] expires
- Time - countdowntimer[2] expires
- Time - countdowntimer[3] expires
- Time - countdowntimer[4] expires
- Time - countdowntimer[5] expires
- Time - countdowntimer[6] expires
- Time - countdowntimer[7] expires
- Time - countdowntimer[8] expires
- Time - countdowntimer[9] expires
- Time - countdowntimer[10] expires
- Conditions
- Actions
- Unit Group - Pick every unit in revivableheroes and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Remaining time for countdowntimer[(Player number of (Owner of (Picked unit)))]) Less than 1.00
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Owner of (Picked unit)) is in team1) Equal to True
- Then - Actions
- Hero - Instantly revive (Picked unit) at Region8, Show revival graphics
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Owner of (Picked unit)) is in team2) Equal to True
- Then - Actions
- Hero - Instantly revive (Picked unit) at Region7, Show revival graphics
- Else - Actions
- Else - Actions
What i want is to revive heroes from team 1 in a region while heroes from team 2 in another region. But whenever i test it other heroes never revive.
I was the only one reviving even if i test it or play it in game.
Other heroes were only revived once i was revived and their deaths weren't recorded in the multiboard.