• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Moving units without making them stop

Status
Not open for further replies.
Level 15
Joined
Aug 31, 2009
Messages
775
What he means is
  • Set UnitVariable = <Your Unit>
  • Set XReal = <X Position of point to move to>
  • Set YReal = <Y Position of point to move to>
  • Custom script: call SetUnitX(udg_UnitVariable,udg_XReal)
  • Custom script: call SetUnitY(udg_UnitVariable,udg_YReal)
It's all GUI, just these two lines need to be typed in addition to any other GUI functions such as defining who the unit variable is and what the real values are of the X/Y co-ordinates of where you want to move the unit to.
 
Status
Not open for further replies.
Top