SetAnimationSpeed

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
(2 intermediate revisions by one user not shown)
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 :
+
{{lua-function-param|object|object to operate on}}
  
- Decimals numbers are allowed
+
'''Note:'''
 
+
* 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:Animation]]

Latest revision as of 01: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.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox