Game logic - Game logic template – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ")
m (Text replacement - " (\=+)([a-zA-Z0-9][^ ]+[a-zA-Z0-9])(\=+) " to " $1 $2 $3 ")
Line 6: Line 6:
*Template remembers the game logic in state when it was picked. Thus the game logic can be removed after being picked.
*Template remembers the game logic in state when it was picked. Thus the game logic can be removed after being picked.


=Properties=
= Properties =
[[File:{{PAGENAME}}-img.png|right|400px|Properties]]
[[File:{{PAGENAME}}-img.png|right|400px|Properties]]


Line 13: Line 13:
*Click to edit game logic properties
*Click to edit game logic properties


=Logic template events=
= Logic template events =
*[[Ylands Tile - Logic Template On Logic Spawn|On Logic Spawn]]
*[[Ylands Tile - Logic Template On Logic Spawn|On Logic Spawn]]


=Related instructions=
= Related instructions =
*[[Ylands Tile - Spawn game logic|Spawn Game Logic]]
*[[Ylands Tile - Spawn game logic|Spawn Game Logic]]



Revision as of 16:38, 17 November 2021

Description

Template for spawning new game logic. All atributes (e.g. script) set in the template will be carried over to newly spawned game logic. New game logic is spawned using Spawn Game Logic instruction.

  • All atributes picked to the logic template will be transfered to the spawned logic.
  • Attributes of picked game logic can be modified directly in the Template
  • Template remembers the game logic in state when it was picked. Thus the game logic can be removed after being picked.

Properties

Game logic

  • Game logic to be spawned
  • Click to edit game logic properties

Logic template events

Related instructions