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

SEE in GuI

Status
Not open for further replies.
Level 9
Joined
Oct 11, 2009
Messages
477
For the dragging system, create a pull system and a dragging animation an for the punching one, select the villager(male) unit in neutral passive and play its attack animation.



*EDIT: Pharaoh beat me to it!!!*
 
Level 11
Joined
Dec 21, 2008
Messages
766
Use
  • Custom script: call SetUnitX (YourUnit, udg_Loc3)
  • Custom script: call SetUnitY (YourUnit, udg_Loc3)
to achieve that.
It will retain its orders. Loc3 is the offset location you will lead it to. Just don't use Unit - Move unit, because it kind of pauses it.

Thanks Will test it! :D

Edit:

Amagash, i got an error when i tryed to test it, can some1 tell me whats wrong? (See pic)
 

Attachments

  • Script Error.jpg
    Script Error.jpg
    35.8 KB · Views: 83
Level 6
Joined
Mar 22, 2009
Messages
276
Regards to your question how to play a units walk animation.
Use the action Animation - Play YourUnit 's walk animation. You can also play other animations with it.
 
Status
Not open for further replies.
Top