- Joined
- Jul 31, 2008
- Messages
- 477
Helloo guys!
So im making a map. It's called demon tag, its like tree tag or camper tag or stuff like that. But when you die you become a demon. But my swap team trigger fails...
Here it is:
So im making a map. It's called demon tag, its like tree tag or camper tag or stuff like that. But when you die you become a demon. But my swap team trigger fails...
Here it is:
-
Swap Team
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Dying unit)) Equal to Goblin Runner
-
-
Actions
-
Unit - Create 1 Voidwalker for (owner of (dying unit)) at (Center of Starting point <gen>) facing default building facing degrees
-
Set PG = (All players matching ((Number of living Goblin Runner units owned by (Owner of (Dying unit))) Equal to 0))
-
Player Group - Make PG treat (All enemies of Player 2 (Blue)) as an Enemy
-
Player Group - Make PG treat (All allies of Player 2 (Blue)) as an Ally with shared vision
-
Player Group - Make (All allies of Player 2 (Blue)) treat PG as an Ally with shared vision
-
Custom script: call DestroyForce(udg_PG)
-