SetAnimationSpeed
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lua-function|setAnimationSpeed|object, speed}} | |
− | You increase the speed by changing the speed value. | + | Change the current object animation speed. You increase the speed by changing the speed value. |
− | + | {{lua-function-param|object|object to operate on}} | |
− | + | '''Note:''' | |
− | + | * Decimals numbers are allowed | |
− | + | * Negative numbers aren't allowed | |
− | + | * You can't use decimals numbers for animated textures. | |
− | + | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
[[Category:Lua function]] | [[Category:Lua function]] | ||
[[Category:Animation]] | [[Category:Animation]] |
Latest revision as of 00:00, 9 February 2014
setAnimationSpeed(object, speed)
Change the current object animation speed. You increase the speed by changing the speed value.
-
object
: object to operate on
Note:
- Decimals numbers are allowed
- Negative numbers aren't allowed
- You can't use decimals numbers for animated textures.