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

Continuous Movement

Status
Not open for further replies.
Here is continuous move trigger (Only for player 1)

  • Move up 1
    • Events
      • Player - Player 1 (Red) Presses the Up Arrow key
    • Conditions
    • Actions
      • -------- Turning loop move up trigger on --------
      • Trigger - Turn on Move up 2 <gen>
  • Move up 2
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • Set TempPoint = (Position of Your Unit)
      • Unit - Order Your Unit to Move To (TempPoint offset by 100.00 towards (Your Unit) degrees)
      • Custom script: call RemoveLocation(udg_TempPoint)
  • Move up 3
    • Events
      • Player - Player 1 (Red) Releases the Up Arrow key
    • Conditions
    • Actions
      • Trigger - Turn off Move up 2 <gen>
This is only for UP arrow key. To make this MPI add moving units of each player to a unit group when pressing arrow, and remove them when relasing arrow. In middle trigger just add Unit Group - pick every unit.
 
Last edited:
Status
Not open for further replies.
Back
Top