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
Next revisionBoth sides next revision
global_event_scripts [2022/06/16 23:40] justinglobal_event_scripts [2022/06/16 23:40] justin
Line 12: Line 12:
 |{{:wiki:tile_stop.png?nolink|}}|Character Stops on a Tile|Triggered when any [[character]] stops on a [[tile]]. The [[script]] assigned to this event can reference the [[tile]] that was stopped on using the **self** built-in variable. The [[character]] that stopped on the [[tile]] can be referenced using the **initiator** built-in variable.| |{{:wiki:tile_stop.png?nolink|}}|Character Stops on a Tile|Triggered when any [[character]] stops on a [[tile]]. The [[script]] assigned to this event can reference the [[tile]] that was stopped on using the **self** built-in variable. The [[character]] that stopped on the [[tile]] can be referenced using the **initiator** built-in variable.|
 |{{:wiki:tile_exit.png?nolink|}}|Character Exits a Tile|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.| |{{:wiki:tile_exit.png?nolink|}}|Character Exits a Tile|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.|
-|{{: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 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.|
  
 ~~NOTOC~~ ~~NOTOC~~
global_event_scripts.txt · Last modified: 2022/12/13 21:43 by justin