SetAnimationSpeed

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Change the current object animation speed.
+
{{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.
  
Notes :  
+
'''Note:'''
  
- Decimals numbers are allowed
+
* Decimals numbers are allowed
 
+
* Negative numbers aren't allowed
- Negative numbers aren't allowed
+
* You can't use decimals numbers for animated textures.
 
+
For animated textures : You can't use decimals numbers
+
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 
[[Category:Lua function]]
 
[[Category:Lua function]]
 
[[Category:Animation]]
 
[[Category:Animation]]

Revision as of 16:59, 8 February 2014

setAnimationSpeed(object, speed)

Change the current object animation speed. You increase the speed by changing the speed value.

Note:

  • Decimals numbers are allowed
  • Negative numbers aren't allowed
  • You can't use decimals numbers for animated textures.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox