Tile - YAnimators - Move To – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Instructions Category: Ylands 0.13")
 
No edit summary
Line 1: Line 1:
[[Image:Move object.png]]
*'''Animation''' script tile, which moves selected '''object''' to '''target''' position.
*'''Object''' can be entity, group or game logic.
*'''Time''' defines how many seconds should it take to perform the animation.
*'''Speed''' opposite to time, defines how quickly should the animation be performed.
*'''Smoothing''' is a number 0-1.
**At 0, the movement is completely smooth with no acceleration.
**At 1, the speed peaks at the middle, accelerating from the start and slowing towards the end.


NOTE: Object needs to be set to '''Animated'''.


----
----

Revision as of 10:00, 12 July 2019

Move object.png

  • Animation script tile, which moves selected object to target position.
  • Object can be entity, group or game logic.
  • Time defines how many seconds should it take to perform the animation.
  • Speed opposite to time, defines how quickly should the animation be performed.
  • Smoothing is a number 0-1.
    • At 0, the movement is completely smooth with no acceleration.
    • At 1, the speed peaks at the middle, accelerating from the start and slowing towards the end.

NOTE: Object needs to be set to Animated.


Template:Ylands scripting navbox