- Joined
- Jun 1, 2009
- Messages
- 125
Hi! Is there any method to detect what exactly unit-type of the unit was just added (or canceled) in the training queue? I want to do something like this:
-
Unit Starts Training
-
Events
-
Unit - A unit Begins training a unit
-
-
Conditions
-
(Player number of (Owner of (Triggering unit))) Less than 9
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Trained unit)) Equal to Upgrade |cff00ffffLightning towers|r
-
-
Then - Actions
-
-------- Do some stuff --------
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Trained unit)) Equal to Upgrade |cffff0000Cannon towers|r
-
-
Then - Actions
-
-------- Do some stuff --------
-
-
Else - Actions
-
-
-
-
(Unit-type of (Trained unit)) Equal to