Need help on instant move

felnix

New Member
Reaction score
4
Hi helpers! I would like to create a skill which hero can instant move forward or backward after a skill was pressed. The range of instant move is 300. No JASS please. Thanks
 

felnix

New Member
Reaction score
4
something almost similar to blink. The hero will instant blink forward 300 range to the location where the degree hero faced. Actually there are 2 skills, 1 is for backward and 1 is for forward. Sorry, I weak on explaining.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Trigger:
  • Instant Blink
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Forward
        • Then - Actions
          • Set TempPoint = (Position of (Triggering unit))
          • Set TempPoint2 = (TempPoint offset by 300.00 towards (Facing of (Triggering unit)) degrees)
          • Unit - Move (Triggering unit) instantly to TempPoint2
          • Custom script: call RemoveLocation(udg_TempPoint2)
          • Custom script: call RemoveLocation(udg_TempPoint)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Backwards
        • Then - Actions
          • Set TempPoint = (Position of (Triggering unit))
          • Set TempPoint2 = (TempPoint offset by 300.00 towards ((Facing of (Triggering unit)) + 180.00) degrees)
          • Unit - Move (Triggering unit) instantly to TempPoint2
          • Custom script: call RemoveLocation(udg_TempPoint2)
          • Custom script: call RemoveLocation(udg_TempPoint)
        • Else - Actions


That should work ;)
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
And the shortcuts?
Trigger:
  • Untitled Trigger 001
    • Events
      • Player - (Owner of UNIT) Presses the Up Arrow key
      • Player - (Owner of UNIT) Presses the Down Arrow key

Oh sorry i see he didnt want to use keyboard shortcuts.
 

felnix

New Member
Reaction score
4
Thank you very much! I will try it! Here I have another question, would this instant blink flee attack? I mean if a attacker attack speed is very slow, the hero use backward instant blink before he got attacked, will the hero flee the attack?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top