Hello, cant seem to get this ability working. Anything you see that im doing wrong?
-
Make Mordor Great Again
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Sauron's Will
-
Actions
- Set VariableSet Swill_casterpoint = (Position of (Triggering unit))
- Set VariableSet SwillTargetpoint = (Target point of ability being cast)
- Set VariableSet SWill_ug = (Units within 1000.00 of Swill_casterpoint matching ((((Matching unit) belongs to an ally of Player 21 (Coal).) Equal to True) and ((((Matching unit) is alive) Equal to True) and (((Unit-type of (Matching unit)) Equal to Nazgûl) and ((Unit-type of (Matching Unit) Equal to Khamul)
- Unit - Move (Triggering unit) instantly to SwillTargetpoint
- Unit Group - Pick every unit in SWill_ug and do (Unit - Move (Picked unit) instantly to SwillTargetpoint)
- Custom script: call RemoveLocation(udg_Swill_casterpoint)
- Custom script: call RemoveLocation(udg_SwillTargetpoint)
- Custom script: call DestroyGroup(udg_SWill_ug)
-
Events