Game logic - Logic label – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Description= | =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. | |||
*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 [[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. | |||
'''Notes:''' | |||
*New game logic assigned trough script are put at the end of the list. | |||
=Properties= | |||
===Entities=== | |||
*List of entities belonging to current Label. | |||
*Click '''+''' to add new entries and then use picker to select entity from scene. | |||
=Entity label events= | |||
*[[Ylands Tile - Entity label On Entity Added-Removed|On Entity Added / Removed]] | |||
*[[Ylands Tile - Entity label On Count Changed|On Count Changed]] | |||
=Related instructions= | |||
===Logic label=== | |||
*[[Ylands Tile - Add-Remove entity to label|Add / Remove entity]] | |||
*[[Ylands Tile - Get label entities|Get entities]] | |||
*[[Ylands Tile - Get label entity count|Get entity count]] | |||
===Game logic=== | |||
*[[Ylands Tile - Attach-Remove entity label|Attach / Remove entity label]] | |||
*[[Ylands Tile - Get entity labels|Get entity labels]] | |||
*[[Ylands Tile - Has entity label| Has entity label]] | |||
---- | |||
{{Ylands scripting navbox}} | |||
Revision as of 14:15, 29 November 2018
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.
- 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.
Notes:
- New game logic assigned trough script are put at the end of the list.
Properties
Entities
- List of entities belonging to current Label.
- Click + to add new entries and then use picker to select entity from scene.
Entity label events
Related instructions
Logic label
Game logic
Template:Ylands scripting navbox