Game logic - Entity template – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Lou Montana moved page Ylands Game logic - Entity template to Ylands:Game logic - Entity template: Text replacement - "Ylands " to "Ylands:")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Description=
=Description=
Template for spawning '''new entities''' - either items, NPCs or vehicles. All atributes (HP, color etc) set in entity template will be carried over to newly spawned entity. New entities are spawned using [[Ylands Tile - Spawn entity template|'''Spawn Entity''']] instruction.
Template for spawning '''new entities''' - either items, NPCs or vehicles. All atributes (HP, color etc) set in entity template will be carried over to newly spawned entity. New entities are spawned using [[Ylands:Tile - Spawn entity template|'''Spawn Entity''']] instruction.


*All atributes picked to the entity template will be transfered to the spawned entity.
*All atributes picked to the entity template will be transfered to the spawned entity.
Line 12: Line 12:


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


= Related instructions =
= Related instructions =
*[[Ylands Tile - Spawn entity template|Spawn Entity From Template]]
*[[Ylands:Tile - Spawn entity template|Spawn Entity From Template]]




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


[[Category: Ylands 0.10]]
[[Category: Ylands 0.10]]
[[Category: Game Logic]]
[[Category: Game Logic]]

Latest revision as of 15:21, 24 November 2023

Description

Template for spawning new entities - either items, NPCs or vehicles. All atributes (HP, color etc) set in entity template will be carried over to newly spawned entity. New entities are spawned using Spawn Entity instruction.

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

Properties

Entity

  • Entity to be spawned
  • Click to edit entity properties

Entity template events

Related instructions