Tile - YLogic - Position – Ylands

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

Position

YlandsTile-206-get.png

YlandsTile-206-set.png

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.