kasilopana
New Member
- Reaction score
- 1
Ey', I'm pretty new to the Editor, and I've got a minor problem here. I can't see what the problem is in this these triggers.
I want a unit owned by player 12 (brown) to be respawned after some time (RPG MAP) .
I want a unit owned by player 12 (brown) to be respawned after some time (RPG MAP) .
Trigger:
- Posis of unit
- Events
- Time - Elapsed game time is 0.01 seconds
- Conditions
- Actions
- Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Owner of (Picked unit)) Equal to Player 12 (Brown)
- Then - Actions
- Set Creep_Point[1] = (Position of (Picked unit))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
- Events
Trigger:
- when dies
- Events
- Unit - A unit Dies
- Conditions
- (Owner of (Dying unit)) Equal to Player 12 (Brown)
- Actions
- Set Temp_Integer = 1
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Temp_Integer Greater than 0
- Then - Actions
- Wait 10.00 seconds
- Unit - Create 1 (Unit-type of (Dying unit)) for Player 12 (Brown) at Creep_Point[1] facing Default building facing degrees
- Else - Actions
- If - Conditions
- Events