Game logic - Game logic template – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Lou Montana moved page Ylands Game logic - Game logic template to Ylands:Game logic - Game logic template: Text replacement - "Ylands " to "Ylands:")
m (Text replacement - "[[Ylands " to "[[Ylands:")
Line 1: Line 1:
=Description=
=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 [[Ylands Tile - Spawn game logic|'''Spawn Game Logic''']] instruction.
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 [[Ylands:Tile - Spawn game logic|'''Spawn Game Logic''']] instruction.


*All atributes picked to the logic template will be transfered to the spawned logic.
*All atributes picked to the logic template will be transfered to the spawned logic.
Line 14: Line 14:


= 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:36, 16 November 2022

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