- Joined
- Jul 30, 2008
- Messages
- 107
For example,i only wants 1 Master Rifleman in 1 game,when then Master Rifleman die,only you can train it again in barrack(for example),after you trained that,you are not able to train the second 1.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Cancel Train

Events


Unit - A unit Finishes training a unit

Conditions


(Unit-type of (Triggering unit)) Equal to Barracks

Actions


Set Footman = (Trained unit)


Player - Make Footman Unavailable for training/construction by (Owner of Footman)


Trigger - Turn on Enable Train <gen>


Trigger - Turn off (This trigger)
Enable Train

Events


Time - Every 0.03 seconds of game time

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Footman is dead) Equal to True



Then - Actions




Player - Make Footman Available for training/construction by (Owner of Footman)




Trigger - Turn on Cancel Train <gen>




Trigger - Turn off (This trigger)



Else - Actions
Unit - A unit starts training a unit
Unit - A unit dies
Unit - A unit Begins training a unit
Unit - A unit Dies
Untitled Trigger 001

Events


Map initialization

Conditions

Actions


Player - Limit training of Footman to 1 for Player 1 (Red)
Okay mckill2009, just so that your theory is correct, create a test map =D
