- Joined
- Aug 18, 2013
- Messages
- 85
-
P1ReinCap
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Attacked unit) Equal to Reinforcements 0140 <gen>
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Owner of (Attacking unit)) is an ally of Player 1 (Red)) Equal to True
- (Owner of (Attacking unit)) Not equal to Player 1 (Red)
- (Integer((Life of (Attacked unit)))) Less than or equal to 166
-
Then - Actions
- Unit - Change ownership of (Attacked unit) to Player 1 (Red) and Change color
- Wait 0.50 seconds
- Unit - Set life of (Attacked unit) to 100.00%
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Integer((Life of (Attacked unit)))) Less than or equal to 166
-
Then - Actions
- Unit - Change ownership of (Attacked unit) to (Owner of (Attacking unit)) and Change color
- Unit - Set life of (Attacked unit) to 25.00%
- Wait 0.50 seconds
- Unit - Set life of (Attacked unit) to 50.00%
- Wait 0.50 seconds
- Unit - Set life of (Attacked unit) to 75.00%
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
BlueQuit
-
Events
- Player - Player 2 (Blue) leaves the game
- Conditions
-
Actions
- Player Group - Remove Player 2 (Blue) from TeamMalcolm
- Set GroupVar = (Units owned by Player 2 (Blue))
- Unit Group - Pick every unit in GroupVar and do (Unit - Change ownership of (Picked unit) to (Random player from TeamMalcolm) and Retain color)
- Custom script: call DestroyGroup(udg_GroupVar)
-
Events
Thank you