User Tools

Site Tools


scripting:introduction_to_events

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
scripting:introduction_to_events [2014/06/07 17:12] mitscripting:introduction_to_events [2025/05/28 16:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
- 
 ===== Event Scripting Overview ===== ===== Event Scripting Overview =====
-Events are triggered on your world server when various things happen - for instance, a 'UseItem' event is triggered when a player uses an item - and you add script for each event - for instance, adding a particle effect and changing a score whenever an item is used. You control events on your world server by script through the file ''Data/Script/ServerScript.mit''+Events are triggered on your world server when various things happen - for instance, a 'UseItem' event is triggered when a player uses an item - and you add script for each event - for instance, adding a particle effect and changing a score whenever a particular item is used. You control events on your world server by script through the file ''Data/Script/ServerScript.mit''
  
 ===== Event Script Example ===== ===== Event Script Example =====
Line 36: Line 35:
  
 For a full list of all the '*' commands like **say** and **grantcash**, check the [[reference:server_commands:index|command reference]]. For a full list of all the '*' commands like **say** and **grantcash**, check the [[reference:server_commands:index|command reference]].
 +
 +===== Next section =====
 +  * Go to [[scripting:basic_syntax|Scripting Language Basic Syntax]]
 +
scripting/introduction_to_events.1402161134.txt.gz · Last modified: (external edit)