Game logic - Entity template – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") |
||
Line 19: | Line 19: | ||
---- | ---- | ||
{{Ylands | {{Ylands editor navbox}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}} | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}} | ||
[[Category: Ylands 0.10]] | [[Category: Ylands 0.10]] | ||
[[Category: Game Logic]] | [[Category: Game Logic]] |
Revision as of 06:03, 26 December 2020
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