Tile - YAnimators - Set Position Animator – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Image:Get-set position animator.png]]
<!---
*'''Gets/sets''' the [[Ylands Game logic - Animator position|'''Position 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 Position Animator(Object, Position animator, Time offset) ==
 
[[File:YlandsTile-597.png]]
 
<pre>static setPositionAnimator(obj: YEntity | YLogic | YGroup, positionAnimator: YPositionAnimator, timeOffset: number): void;</pre>
=== Parameters ===
 
==== obj ====
 
Target object
 
==== positionAnimator ====
 
New animator
 
==== timeOffset ====
 
Animator movement offset (seconds)
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to assign '''position animator''' to selected object.
 


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


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

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.