HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

trigger?

08-08-2003, 01:47 PM#1
drezman
how do you make it so that when a player has 2 of unit A one gets removed
08-08-2003, 01:56 PM#2
Coffein
Events
Unit - A unit enters (Playable map area)
Conditions
(Number of living Footman units owned by Player 1 (Red)) Equal to 2
Actions
Unit - Remove (Entering unit) from the game
08-08-2003, 02:06 PM#3
Setreal
If you do it Coffein's way you'll need to put a condition to check if the entering unit is a footman as well because in some instances they may of somehow have gotten 2 footmen at the start(or some other way) and therefore it'll find the 2 footmen when a unit enters the playable map area(that may not be a footman at all) and end up deleting the wrong unit.