Game logic - Impassable barrier – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ") |
Lou Montana (talk | contribs) m (Text replacement - " (\=+)([a-zA-Z0-9][^ ]+[a-zA-Z0-9])(\=+) " to " $1 $2 $3 ") |
||
Line 2: | Line 2: | ||
*Dynamic zone which blocks player movement. | *Dynamic zone which blocks player movement. | ||
=Properties= | = Properties = | ||
=== Enabled === | === Enabled === | ||
Line 23: | Line 23: | ||
*Double sided has to be '''bigger''' than '''player''', '''otherwise''' player will '''stuck'''. | *Double sided has to be '''bigger''' than '''player''', '''otherwise''' player will '''stuck'''. | ||
=Notes= | = Notes = | ||
*'''Enabled''' and '''Visible''' properties are '''independent''' on each other, meaning that is is possible to display even inactive barrier. | *'''Enabled''' and '''Visible''' properties are '''independent''' on each other, meaning that is is possible to display even inactive barrier. | ||
=Related instructions= | = Related instructions = | ||
*[[Ylands Tile - Game logic enabled|Get / Set Enabled]] | *[[Ylands Tile - Game logic enabled|Get / Set Enabled]] | ||
*[[Ylands Tile - Game logic position-rotation-scale|Get Position / Rotation / Scale]] | *[[Ylands Tile - Game logic position-rotation-scale|Get Position / Rotation / Scale]] |
Revision as of 15:40, 17 November 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