• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Ability: Teleport AOE

Status
Not open for further replies.
Level 7
Joined
Feb 6, 2008
Messages
133
this doesnt seem to work at all .. it's suppose to move all the units on the area casted to the region(teleport zone) but nothing happens

  • kishin
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Kishin
    • Actions
      • Unit - Move (Target unit of ability being cast) instantly to (Position of teleported zone <gen>)
 
  • kishin
    • Events
      • Unit - A unit Begins casting an ability
      • Conditions
        • (Ability being cast) Equal to Kishin
      • Actions
        • Set Loc - Position of (torget point of ability being cast)
        • Unit - Move (Target unit of ability being cast) instantly to Loc
        • Custom script : call RemoveLocation(udg_Loc)
this should work also it removes the leak
 
You can't use (Target unit of ability being cast) with AoE spells.
You'll need to pick them first.
Here's a example:
  • Untitled Trigger 002
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Flame Strike
    • Actions
      • Unit Group - Pick every unit in (Units within 256.00 of (Target point of ability being cast)) and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of hell <gen>)
 
Umm couldn't you just yous MASS TELEPORT the skill that's ALREADLY made out XD? Or did you want it to make it so that every unit around you not just you? Even so you could just edit who it effects so in actuality...you don't need triggers
 
You can't use (Target unit of ability being cast) with AoE spells.
You'll need to pick them first.
Here's a example:
  • Untitled Trigger 002
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Flame Strike
    • Actions
      • Unit Group - Pick every unit in (Units within 256.00 of (Target point of ability being cast)) and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of hell <gen>)
hey that works! and thats what i wanted ! but how do i make it teleport only gray's unit .. i tried putting this condition but it didnt worked
  • ((Ability being cast) Equal to Flame Strike) and ((Owner of (Picked unit)) Equal to Player 9 (Gray))
 
  • Actions
    • Unit Group - Pick every unit in (Units within 256.00 of (Target point of ability being cast)) matching (Owner of (Matching unit) Equal to Player 9 (Gray)) and do (Actions)
Note that there is 'matching unit' instead of triggering or picked. If you put there anything else, it wont work.
 
Status
Not open for further replies.
Back
Top