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

Playing animation when being moved

Status
Not open for further replies.
Level 4
Joined
Jan 5, 2014
Messages
79
I have this problem:

By one of my triggers, I move a unit every 0.02 sec via the Move unit instantly to position action.

Every time it chnges ist position (via the trigger), it's ordered to stop (if you know how to alter this, write it also pls.), which means it stands still while being moved by the trigger.

I want to make the unit perform its walking animation while being moved by trigger. Is this possible?
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Use the JASS functions SetUnitX(unit u, real x) and SetUnitY(unit u, real y), they dont interrupt orders.

If you dont know how to use CustomScript or JASS, you could go here and learn it.
 
Level 4
Joined
Jan 5, 2014
Messages
79
Use the JASS functions SetUnitX(unit u, real x) and SetUnitY(unit u, real y), they dont interrupt orders.

If you dont know how to use CustomScript or JASS, you could go here and learn it.

tahnk u, i am not skilled in jass, but i think i can do this
 
Status
Not open for further replies.
Top