- Joined
- Jun 14, 2008
- Messages
- 72
hi I am making a map that when you start you get a unit that has the ability to train light heavy and special units, there are more units then there are spaces so the goal is when u click the train heavy units button, it gos to a different unit that's an exact copy but trains the units (same with light and unique) but my trigger doesn't work, it refuses to work the ability does nothing here my code
-
Heavy unit selector
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Heavy units
-
-
Actions
-
Unit Group - Pick every unit in (Units in Unit picking <gen> matching (((Unit-type of (Picked unit)) Equal to Unit picker Heavy) and ((Owner of (Triggering unit)) Equal to (Owner of (Picked unit))))) and do (Actions)
-
Loop - Actions
-
Selection - Select (Picked unit) for (Owner of (Triggering unit))
-
-
-
-