Game logic - Impassable barrier – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}")
m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ")
Line 4: Line 4:
=Properties=
=Properties=


===Enabled===
=== Enabled ===
*Whenever the barrier is active or not.
*Whenever the barrier is active or not.


===Zone shape===
=== Zone shape ===
*Shape of the Impassable barrier - box, sphere or capsule
*Shape of the Impassable barrier - box, sphere or capsule


===Radius / Dimensions===
=== Radius / Dimensions ===
*Size of the Impassable barrier boundaries.
*Size of the Impassable barrier boundaries.


===Visible===
=== Visible ===
*Whenever the Impassable barrier boundaries are visible or not.
*Whenever the Impassable barrier boundaries are visible or not.


===Color===
=== Color ===
*Color of Impassable barrier boundaries (when visible).
*Color of Impassable barrier boundaries (when visible).


===Double sided===
=== Double sided ===
*Double sided barriers block also player movement from inside out.
*Double sided barriers block also player movement from inside out.
*Double sided has to be '''bigger''' than '''player''', '''otherwise''' player will '''stuck'''.
*Double sided has to be '''bigger''' than '''player''', '''otherwise''' player will '''stuck'''.

Revision as of 20:10, 31 January 2021

Description

  • Dynamic zone which blocks player movement.

Properties

Enabled

  • Whenever the barrier is active or not.

Zone shape

  • Shape of the Impassable barrier - box, sphere or capsule

Radius / Dimensions

  • Size of the Impassable barrier boundaries.

Visible

  • Whenever the Impassable barrier boundaries are visible or not.

Color

  • Color of Impassable barrier boundaries (when visible).

Double sided

  • Double sided barriers block also player movement from inside out.
  • Double sided has to be bigger than player, otherwise player will stuck.

Notes

  • Enabled and Visible properties are independent on each other, meaning that is is possible to display even inactive barrier.

Related instructions