- Joined
- Oct 1, 2008
- Messages
- 1,667
Quick question, how would I make a trigger that states that only 1 of a certain type of unit may be in play at one time?
This is what I have, but it doesnt work...
This is what I have, but it doesnt work...
-
Single Unit
-
Events
-
Unit - A unit Finishes training a unit
-
-
Conditions
-
(Unit-type of (Trained unit)) Equal to [Unit]
-
-
Actions
-
Trigger - Turn on SingleUnitKill <gen>
-
-
-
SingleUnitKill
-
Events
-
Unit - A unit Finishes training a unit
-
-
Conditions
-
(Unit-type of (Trained unit)) Equal to [Unit]
-
-
Actions
-
Unit - Remove (Last created unit) from the game
-
Trigger - Turn off SingleUnitKill <gen>
-
-