- Joined
- Aug 2, 2008
- Messages
- 442
Is there anyway to make a unit created for a computer controlled player number use a spell? ex;
-
VulAja MassHex
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Mass Hex (VulAja)
-
Actions
-
Unit Group - Pick every unit in (Units in VulAja Boss Area <gen>) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) belongs to an ally of Player 11 (Dark Green)) Equal to True
-
Then - Actions
- Unit - Create 1 Rejuve Caster for Player 12 (Brown) at (Position of (Casting unit)) facing Default building facing degrees
- Unit - Order (Last created unit) to Orc Shadow Hunter - Hex (Picked unit)
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in VulAja Boss Area <gen>) and do (Actions)
-
Events