User Tools

Site Tools


scripting:other_language_features

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:other_language_features [2014/06/07 17:22] mitscripting:other_language_features [2025/05/28 16:34] (current) – external edit 127.0.0.1
Line 21: Line 21:
 </codedoc> </codedoc>
 Keeping related code separated like this can make it easier to share script across worlds - e.g. You could add your crow tournament feature to another world by copying the ''CrowTournament.mit'' file across and including it from the ServerScript. Keeping related code separated like this can make it easier to share script across worlds - e.g. You could add your crow tournament feature to another world by copying the ''CrowTournament.mit'' file across and including it from the ServerScript.
- 
  
 ===== Timers ===== ===== Timers =====
  
-TBD+When you want to trigger an event at a certain time, you can add a timer using the script system function ''sysSetTimer'' You specify the time delay and the name of an event to trigger. 
  
 ===== Sleep command ===== ===== Sleep command =====
scripting/other_language_features.1402161779.txt.gz · Last modified: (external edit)