• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Teleport select units

Status
Not open for further replies.
Level 5
Joined
Jan 15, 2018
Messages
129
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)
 
Status
Not open for further replies.
Top