Tile - YAnimators - Set Position Animator – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


==== obj ====
==== obj ====
Target object


==== positionAnimator ====
==== positionAnimator ====
New animator


==== timeOffset ====
==== timeOffset ====
Animator movement offset (seconds)
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===


Sets the '''position animator''' of the object.
Allows to assign '''position animator''' to selected object.





Revision as of 12:16, 12 November 2021

Set Position Animator(Object, Position animator, Time offset)

YlandsTile-597.png

static setPositionAnimator(obj: YEntity | YLogic | YGroup, positionAnimator: YPositionAnimator, timeOffset: number): void;

Parameters

obj

Target object

positionAnimator

New animator

timeOffset

Animator movement offset (seconds)

Availability

Server

Description

Allows to assign position animator to selected object.