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

[JASS] Set animation to a certain point

Status
Not open for further replies.
Level 16
Joined
Mar 3, 2006
Messages
1,564
By increasing and decreasing the animation speed, but with one drawback when you increase it and want to skip the first 0.5 sec in the animation; you will always see the animation.

Remember that when you set animation to 0% it completely stops.

JASS:
call SetUnitTimeScale(whichUnit, percentScale * 0.01)

percentScale = the percent you want ranging from 0 to X, or just remove the whole "percentScale * 0.01" and enter 1,2,3 .... and so on.
 
Status
Not open for further replies.
Top