- Joined
- Oct 11, 2005
- Messages
- 142
I can't seems to see what is wrong with this trigger, can anyone else?
The spell I'm using as a base is far sight and is in a spellbook
Command
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Rising Dead Command
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Rising Dead Command
Then - Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Target unit of ability being cast)) matching ((((Unit-type of (Matching unit)) Equal to Fallen Warrior) or ((Unit-type of (Matching unit)) Equal to Fallen Archer)) and (((Matching unit) is in Undead_Command_Units) Equal to False))) and do (Unit Group - Add (Picked unit) to Undead_Command_Units)
Unit Group - Pick every unit in Undead_Command_Units and do (Unit - Order (Picked unit) to Attack-Move To (Target point of ability being cast))
Else - Actions
The spell I'm using as a base is far sight and is in a spellbook
Command
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Rising Dead Command
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Rising Dead Command
Then - Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Target unit of ability being cast)) matching ((((Unit-type of (Matching unit)) Equal to Fallen Warrior) or ((Unit-type of (Matching unit)) Equal to Fallen Archer)) and (((Matching unit) is in Undead_Command_Units) Equal to False))) and do (Unit Group - Add (Picked unit) to Undead_Command_Units)
Unit Group - Pick every unit in Undead_Command_Units and do (Unit - Order (Picked unit) to Attack-Move To (Target point of ability being cast))
Else - Actions