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

Varible problem

Status
Not open for further replies.
Level 7
Joined
Feb 25, 2007
Messages
286
I'm trying to make a blink strike and i think i got it down but I'm trying to make it so you attack the dude and come back.. but its not working really well.. I made the varible but I have no idea what region that would be... :\ Please help me...
 
Level 9
Joined
Jun 18, 2004
Messages
565
Well, after the guy Blinks, Strikes, move him back to his original position by storing it in a variable just before he (or she) Blinks. Like so.

  • Melee Initialization
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blink
    • Actions
      • Set PointofDude = (Position of (Casting unit))
      • -------- Whatever your Blink Strike trigger is, put it here... --------
      • Wait 2.00 seconds
      • Special Effect - Create a special effect attached to the chest of (Casting unit) using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
      • Unit - Move (Casting unit) instantly to PointofDude
      • Wait 0.20 seconds
      • Special Effect - Create a special effect attached to the chest of (Casting unit) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
 
Level 7
Joined
Feb 25, 2007
Messages
286
Ok thank you but 1 more question.... I got that part to work but I'm trying to make it so that I blink, strike, then blink back... Well its not working. It does blink, strike, stop.... how do I make it so he will blink back to where he was....?
 
Status
Not open for further replies.
Top