Game logic - Play area – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ")
m (Text replacement - " (\=+)([a-zA-Z0-9][^ ]+[a-zA-Z0-9])(\=+) " to " $1 $2 $3 ")
Line 2: Line 2:
*Used for defining the play area of the level. All terrain chunks inside the bounding box of Play area will be kept loaded at same time.
*Used for defining the play area of the level. All terrain chunks inside the bounding box of Play area will be kept loaded at same time.


=Properties=
= Properties =
=== Zone shape ===
=== Zone shape ===
*Shape of the Play area - box, sphere or capsule.
*Shape of the Play area - box, sphere or capsule.
Line 12: Line 12:
*Color of Play area boundaries (when visible).
*Color of Play area boundaries (when visible).


=Related instructions=
= Related instructions =
*[[Ylands Tile - Game logic position-rotation-scale|Get Position / Rotation / Scale]]
*[[Ylands Tile - Game logic position-rotation-scale|Get Position / Rotation / Scale]]
*[[Ylands Tile - Get-Set zone visible|Get / Set Zone Visibility]]
*[[Ylands Tile - Get-Set zone visible|Get / Set Zone Visibility]]

Revision as of 16:41, 17 November 2021

Description

  • Used for defining the play area of the level. All terrain chunks inside the bounding box of Play area will be kept loaded at same time.

Properties

Zone shape

  • Shape of the Play area - box, sphere or capsule.

Visible

  • Makes the Play area boundaries visible even in game.

Color

  • Color of Play area boundaries (when visible).

Related instructions