• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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