scripting:introduction_to_events
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| scripting:introduction_to_events [2014/06/07 17:09] – mit | scripting:introduction_to_events [2025/05/28 16:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~NOTOC~~ | ||
| ===== Event Scripting Overview ===== | ===== Event Scripting Overview ===== | ||
| - | Events are triggered on your world server when various things happen - for instance, a ' | + | Events are triggered on your world server when various things happen - for instance, a ' |
| ===== Event Script Example ===== | ===== Event Script Example ===== | ||
| Line 28: | Line 29: | ||
| would be entered - the say message will appear in red for all players and ' | would be entered - the say message will appear in red for all players and ' | ||
| + | As well as triggering server commands from script, you can add logic, store persistent (per-player and global) values that can be accessed from other script events, call functions and set timers for events to occur later. | ||
| ===== Events Reference Links ===== | ===== Events Reference Links ===== | ||
| Line 33: | Line 35: | ||
| For a full list of all the ' | For a full list of all the ' | ||
| + | |||
| + | ===== Next section ===== | ||
| + | * Go to [[scripting: | ||
| + | |||
scripting/introduction_to_events.1402160945.txt.gz · Last modified: (external edit)
