Tile - YLogic - Position – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Position == File:YlandsTile-206-get.png...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
== Position ==
== Position ==


[[File:YlandsTile-206-get.png]]
<pre>get position(): YVector3;
set position(value: YVector3);</pre>
=== Availability ===


[[File:YlandsTile-206-set.png]]
[[Ylands:Tile Availability - Server|Server]]


<pre>get position(): YVector3;
set position(value: YVector3);</pre>
=== Description ===
=== Description ===


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


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

Latest revision as of 14:26, 24 November 2023

Position

get position(): YVector3;
set position(value: YVector3);

Availability

Server

Description

Allows to get / set position of target game logic. This is especially useful when getting the location of a Reference Point. When using Set position, the game logic will immediately go to that position, unlike using a Position Animator.

Notes

  • To set rotation / position / scale of Trigger Zone, it has to be set to "animated".
  • Animated Trigger Zones cannot react to any animal/monster, any item, any npc, any projectile, or entity type (technical limitations). All other trigger groups still function.