Game logic - Game logic template – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " (\=+)([a-zA-Z0-9][^ ]+[a-zA-Z0-9])(\=+) " to " $1 $2 $3 ") |
Lou Montana (talk | contribs) |
||
(3 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 7: | Line 7: | ||
= Properties = | = Properties = | ||
[[File:{{PAGENAME}}-img.png|right|400px|Properties]] | <!-- [[File:{{PAGENAME}}-img.png|right|400px|Properties]] --> | ||
=== Game logic === | === Game 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]] | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{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