Tile - YAnimators - Set Rotation Animator – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:


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


==== rotationAnimator ====
==== rotationAnimator ====
New animator


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


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


Sets the ''rotation animator'' for the selected object.
Allows to assign ''rotation animator'' to selected object.




----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:24, 24 November 2023

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

YlandsTile-601.png

static setRotationAnimator(obj: YEntity | YLogic | YGroup, rotationAnimator: YRotationAnimator, timeOffset: number): void;

Parameters

obj

Target object

rotationAnimator

New animator

timeOffset

Animator movement offset (seconds)

Availability

Server

Description

Allows to assign rotation animator to selected object.