Game logic - Logic label – 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: | ||
Logic label is a '''collection of game logic'''. Game logic can be easily added or removed from a label, either by editing the label properties or trough visual scripting instructions. It is possible to check whenever a game logic is part of a label and utilize this information in a game script. | Logic label is a '''collection of game logic'''. Game logic can be easily added or removed from a label, either by editing the label properties or trough visual scripting instructions. It is possible to check whenever a game logic is part of a label and utilize this information in a game script. | ||
=Properties= | = Properties = | ||
=== Logic === | === Logic === | ||
*List of Game logic belonging to current Label. | *List of Game logic belonging to current Label. | ||
Line 15: | Line 15: | ||
*It is possible to group [[Ylands Game logic - Spawn point|'''Spawn Points''']] in a Logic label and use it as spawn place in [[Ylands Game logic - Player role|'''Player Role''']] and [[Ylands Game logic - Player team|'''Player Team''']]. Player spawn is then selected randomly from the collection. | *It is possible to group [[Ylands Game logic - Spawn point|'''Spawn Points''']] in a Logic label and use it as spawn place in [[Ylands Game logic - Player role|'''Player Role''']] and [[Ylands Game logic - Player team|'''Player Team''']]. Player spawn is then selected randomly from the collection. | ||
=Logic label events= | = Logic label events = | ||
*[[Ylands Tile - Logic label On Logic Added-Removed|On Logic Added / Removed]] | *[[Ylands Tile - Logic label On Logic Added-Removed|On Logic Added / Removed]] | ||
*[[Ylands Tile - Logic label On Count Changed|On Count Changed]] | *[[Ylands Tile - Logic label On Count Changed|On Count Changed]] | ||
=Related instructions= | = Related instructions = | ||
=== Logic label === | === Logic label === | ||
*[[Ylands Tile - Add-Remove logic to label|Add / Remove game logic]] | *[[Ylands Tile - Add-Remove logic to label|Add / Remove game logic]] |
Revision as of 15:39, 17 November 2021
Description
Logic label is a collection of game logic. Game logic can be easily added or removed from a label, either by editing the label properties or trough visual scripting instructions. It is possible to check whenever a game logic is part of a label and utilize this information in a game script.
Properties
Logic
- List of Game logic belonging to current Label.
- Click + to add new entries and then use picker to select entity from scene.
Notes
- New game logic assigned trough script are put at the end of the list.
- Each game logic can be part of any number of Labels.
- Label collection is dynamic. It is possible to add/remove game logic during play.
Spawn points
- It is possible to group Spawn Points in a Logic label and use it as spawn place in Player Role and Player Team. Player spawn is then selected randomly from the collection.
Logic label events
Related instructions
Logic label
Game logic