User Tools

Site Tools


entity_properties

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
entity_properties [2023/01/02 21:38] justinentity_properties [2023/02/01 20:47] (current) justin
Line 19: Line 19:
 |Character stops on tile|Triggered whenever a [[character]] stops on this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings.| |Character stops on tile|Triggered whenever a [[character]] stops on this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings.|
 |Character exits tile|Triggered whenever a [[character]] exits this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings.| |Character exits tile|Triggered whenever a [[character]] exits this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings.|
-|Object enters tile|Triggered whenever a [[pushing|pushable object]] enters this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings.| +|Object enters tile|Triggered whenever a [[pushing|pushable object]] enters this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings. The **$object** local variable will contain the pushed [[object]].| 
-|Object stops on tile|Triggered whenever a [[pushing|pushable object]] stops on this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings.| +|Object stops on tile|Triggered whenever a [[pushing|pushable object]] stops on this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings. The **$object** local variable will contain the pushed [[object]].| 
-|Object exits tile|Triggered whenever a [[pushing|pushable object]] exits this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings.|+|Object exits tile|Triggered whenever a [[pushing|pushable object]] exits this [[tile]]. In order for an [[NPC]] to trigger this event, the "Triggerable by NPCs" setting must be enabled, and the [[NPC]] must have "Can Trigger Scripts" enabled in their [[npc_behavior|behavior]] settings. The **$object** local variable will contain the pushed [[object]].|
 |Item (Tool)|Triggered whenever the player interacts with this [[tile]] while they have the corresponding [[tool_items|tool item]] active. An [[item]] needs to be configured as a [[tool_items|tool item]] in order for it to appear as a trigger event.| |Item (Tool)|Triggered whenever the player interacts with this [[tile]] while they have the corresponding [[tool_items|tool item]] active. An [[item]] needs to be configured as a [[tool_items|tool item]] in order for it to appear as a trigger event.|
  
Line 36: Line 36:
 =====Character Properties===== =====Character Properties=====
 ^Icon^Property^Description^ ^Icon^Property^Description^
-|{{:wiki:npc.png?nolink|}}|Character Type|Specifies whether the character is an NPC or an enemy. NPCs can have dialogue attached, and enemies can have battles attached.| +|{{:wiki:character_npc.png?nolink|}}|Character Type|Specifies whether the character is an NPC or an enemy. NPCs can have dialogue attached, and enemies can have battles attached.| 
-|{{:wiki:comment.png?nolink|}}|Dialogue|Dialogue that will be triggered when the player interacts with the character. Only applicable to NPCs.| +|{{:wiki:dialogue.png?nolink|}}|Dialogue|Dialogue that will be triggered when the player interacts with the character. Only applicable to NPCs.| 
-|{{:wiki:bomb.png?nolink|}}|Battle|Battle that will be triggered when the player interacts with the character. Only applicable to enemies.|+|{{:wiki:swords.png?nolink|}}|Battle|Battle that will be triggered when the player interacts with the character. Only applicable to enemies.|
 |{{:wiki:navigation.png?nolink|}}|Behavior|Determines how the character will move around the map and react to their surroundings. See [[NPC Behavior]].| |{{:wiki:navigation.png?nolink|}}|Behavior|Determines how the character will move around the map and react to their surroundings. See [[NPC Behavior]].|
-|{{:wiki:tag_purple.png?nolink|}}|Entity ID|Unique ID for the character that can be referenced in scripts. See [[Entity]] for an example of how to reference an entity by its ID.|+|{{:wiki:tag_id.png?nolink|}}|Entity ID|Unique ID for the character that can be referenced in scripts. See [[Entity]] for an example of how to reference an entity by its ID.|
 |{{:wiki:information.png?nolink|}}|Tooltip|Text that will be displayed in-game when the player hovers over the character with the mouse cursor. See [[Entity Tooltips]].| |{{:wiki:information.png?nolink|}}|Tooltip|Text that will be displayed in-game when the player hovers over the character with the mouse cursor. See [[Entity Tooltips]].|
  
 ~~NOTOC~~ ~~NOTOC~~
entity_properties.1672724300.txt.gz · Last modified: 2023/01/02 21:38 by justin