Game logic - Impassable barrier – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
*Color of Impassable barrier boundaries (when visible).
*Color of Impassable barrier boundaries (when visible).


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


=Notes=
=Notes=

Revision as of 11:18, 15 April 2019

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



Template:Ylands scripting navbox