Game logic - Logic label – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
*Label collection is dynamic. It is possible to add/remove game logic during play.
*Label collection is dynamic. It is possible to add/remove game logic during play.


'''Spawn points:'''
'''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.
*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:'''
'''Notes'''
*New game logic assigned trough script are put at the end of the list.
*New game logic assigned trough script are put at the end of the list.



Revision as of 16:51, 2 December 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

Logic

  • List of Game logic belonging to current Label.
  • Click + to add new entries and then use picker to select entity from scene.

Logic label events

Related instructions

Logic label

Game logic



Template:Ylands scripting navbox




Template:Ylands scripting navbox