Tile - YAnimators - Set Rotation Animator – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Image:Get-set rotation animator.png]]
<!---
*'''Gets/sets''' the [[Ylands Game logic - Animator rotation|'''Rotation animator''']] for target '''object'''.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*'''Time offset''' creates a delay in the animation.
-->
== Set Rotation Animator(Object, Rotation animator, Time offset) ==
 
[[File:YlandsTile-601.png]]
 
<pre>static setRotationAnimator(obj: YEntity | YLogic | YGroup, rotationAnimator: YRotationAnimator, timeOffset: number): void;</pre>
=== Parameters ===
 
==== obj ====
 
Target object
 
==== rotationAnimator ====
 
New animator
 
==== timeOffset ====
 
Animator movement offset (seconds)
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to assign ''rotation animator'' to selected object.
 


----
----
Line 8: Line 35:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.13]]

Revision as of 12:16, 12 November 2021

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.