User Tools

Site Tools


global_event_scripts

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
global_event_scripts [2022/12/13 21:09] justinglobal_event_scripts [2022/12/13 21:43] (current) justin
Line 17: Line 17:
 |{{:hand_delete.png?nolink|}}|Object is Released|Triggered when any [[character]] releases a [[pushing|pushable object]]. The [[script]] assigned to this event can reference the [[object]] that was released using the **self** built-in variable. The [[character]] that released the [[object]] can be referenced using the **initiator** built-in variable.| |{{:hand_delete.png?nolink|}}|Object is Released|Triggered when any [[character]] releases a [[pushing|pushable object]]. The [[script]] assigned to this event can reference the [[object]] that was released using the **self** built-in variable. The [[character]] that released the [[object]] can be referenced using the **initiator** built-in variable.|
 |{{:wiki:tool_items.png?nolink|}}|Tool Item Changes|Triggered when the player's active tool changes. The [[script]] assigned to this event can reference the ID of the newly active tool [[item]] using the **$item_id** local variable. This variable will be null if no tool is active.| |{{:wiki:tool_items.png?nolink|}}|Tool Item Changes|Triggered when the player's active tool changes. The [[script]] assigned to this event can reference the ID of the newly active tool [[item]] using the **$item_id** local variable. This variable will be null if no tool is active.|
-|{{:chest.png?nolink|}}|Quest Given|Triggered when any [[character]] exits a [[tile]]. The [[script]] assigned to this event can reference the [[tile]] that was exited using the **self** built-in variable. The [[character]] that exited the [[tile]] can be referenced using the **initiator** built-in variable.| +|{{:chest.png?nolink|}}|Quest Given|Triggered when the player is given a [[quest]]. The [[script]] assigned to this event can reference the ID of the quest that was given using the **$quest_id** local variable.| 
-|{{:chest_checkmark.png?nolink|}}|Quest Completed|Triggered when any [[character]] exits a [[tile]]. The [[script]] assigned to this event can reference the [[tile]] that was exited using the **self** built-in variable. The [[character]] that exited the [[tile]] can be referenced using the **initiator** built-in variable.| +|{{:chest_checkmark.png?nolink|}}|Quest Completed|Triggered when a [[quest]] has been completed. The [[script]] assigned to this event can reference the ID of the quest that was completed using the **$quest_id** local variable.| 
-|{{:chest_delete.png?nolink|}}|Quest Failed|Triggered when any [[character]] exits a [[tile]]. The [[script]] assigned to this event can reference the [[tile]] that was exited using the **self** built-in variable. The [[character]] that exited the [[tile]] can be referenced using the **initiator** built-in variable.|+|{{:chest_delete.png?nolink|}}|Quest Failed|Triggered when a [[quest]] has been failed. The [[script]] assigned to this event can reference the ID of the quest that was failed using the **$quest_id** local variable.|
  
 ~~NOTOC~~ ~~NOTOC~~
global_event_scripts.txt · Last modified: 2022/12/13 21:43 by justin