Game logic - Game logic template – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}")
 
(6 intermediate revisions by the same user not shown)
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 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]] -->


===Game logic===  
=== Game logic ===
*Game logic to be spawned
*Game logic to be spawned
*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]]




----
----
{{Ylands editor navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}


[[Category: Ylands 0.12]]
[[Category: Ylands 0.12]]
[[Category: Game Logic]]
[[Category: Game Logic]]

Latest revision as of 21:35, 8 August 2024

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