• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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>)
 
Level 5
Joined
May 27, 2007
Messages
144
  • 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>)
 
Level 7
Joined
Feb 25, 2007
Messages
286
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
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Omg someone need to make a sticky in the "world editor help" forum that says something like "SPELLS DON'T GO HERE GOD DAMD".
If I would have been Rui I would have already jumped from a cliff.

Oh and so this post will be a little on the topic, explain what you want :xxd:
 
Level 7
Joined
Feb 6, 2008
Messages
133
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))
 
Level 9
Joined
May 27, 2006
Messages
498
  • 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.
Top