• 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.

Ability required

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
I have a summoner unit, and I wish to make an ability that selects all units owned by the caster and set the caster as a point and order selected units to move to the caster. Is this possible with GUI, if so could someone make a sample map that shows the triggers.
Many thanks
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Untitled Trigger 002
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to MySpell
    • Actions
      • Set TempLoc1 = (Position of (Triggering unit))
      • Set TempGroup = (Units within 1024.00 of TempLoc1 matching ((Owner of (Matching unit)) Equal to (Owner of (Triggering unit))))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Move To TempLoc1
      • Custom script: call RemoveLocation(udg_TempLoc1)
      • Custom script: call DestroyGroup(udg_TempGroup)
Change the range as you see fit.
 
Status
Not open for further replies.
Top