• 🏆 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!

Need help on a trigger..

Status
Not open for further replies.
Level 4
Joined
May 3, 2009
Messages
69
I need a trigger for teleporting my hero to the back of the target. Just like blink strike. I tried a lot of things but can't get it :confused:

my spell is passive and can't make it a cooldown... need help on that too. changed the cooldown thing in the object editor but seems not working..
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
  • Events
  • Unit starts the effect of an ability
  • Conditions
  • Ability being cast equalt to...
  • Actions
  • Temp_Loc_1 = Position of triggering unit
  • Temp_Loc_2 = Position of target unit of ability being cast
  • Temp_Real = Angle between Temp_Loc_1 and Temp_Loc_2
  • Temp_Loc_3 = Tem_Loc_2 offset by 96 towards Temp_Real
  • Create special effect using Blink at Temp_Loc_1
  • Destroy last created special effect
  • call RemoveLocation(udg_Temp_Loc_1)
  • Move Triggering unit instantly to Temp_Loc_3 facing Temp_Loc_2
  • Temp_Loc_1 = Position of triggering unit
  • Create special effect using Blink at Temp_Loc_1
  • Destroy last created special effect
  • call RemoveLocation(udg_Temp_Loc_1)
  • call RemoveLocation(udg_Temp_Loc_2)
  • call RemoveLocation(udg_Temp_Loc_3)
Something like that. Create a dummy ability that does nothing ,but must be targeted to a unit.
 
Status
Not open for further replies.
Top