PooBucket
New Member
- Reaction score
- 12
I've been trying to make this trigger work but it won't work. First time it worked alright but with many malfunctions, now it doesn't even work at all! Please help me with the trigger. (Also, how do you put the trigger in code format? I'm relatively new.) Here's the trigger.
Gate
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Gate
Actions
Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit)) matching ((((Triggering unit) is A structure) Equal to False) and ((((Triggering unit) is alive) Equal to True) and (((Triggering unit) belongs to an ally of (Owner of (Casting unit))) Equal to True)))) and do (Unit - Move (Picked unit) instantly to (Position of (Target unit of ability being cast)))
Gate
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Gate
Actions
Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit)) matching ((((Triggering unit) is A structure) Equal to False) and ((((Triggering unit) is alive) Equal to True) and (((Triggering unit) belongs to an ally of (Owner of (Casting unit))) Equal to True)))) and do (Unit - Move (Picked unit) instantly to (Position of (Target unit of ability being cast)))