User Tools

Site Tools


scripting

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 [2014/06/07 16:31] mitscripting [2025/05/28 16:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~DISCUSSION:off~~ ~~DISCUSSION:off~~
 +~~NOTOC~~
 ===== World Scripting Overview ===== ===== World Scripting Overview =====
  
-  * [[Scripting:Introduction to Events|Introduction to Events]] +  * [[Scripting:Introduction to Events|Introduction to Scripted Events]] 
-  * [[Scripting:Basic Syntax|Basic Syntax Overview]]+  * [[Scripting:Basic Syntax|Scripting Language Basic Syntax]]
   * [[Scripting:Other Language Features|Other Important Language Features]]   * [[Scripting:Other Language Features|Other Important Language Features]]
-  * [[Scripting:Functions & Custom Events Overview|Functions & Custom Events Overview]] +  * [[Scripting:System Values & Functions Overview|System Functions, Values & Variables]] 
-  * [[Scripting:System Variables Overview|System Variables Overview]] +  * [[Scripting:ScriptedOSD|Scripted OSD]]
-  * [[Scripting:System Values & Functions Overview|System Values & Functions Overview]] +
- +
-  * [[Scripting:ScriptedOSD|Scripted OSD Overview]] +
   * [[Scripting:Cutscenes|Cutscenes Overview]]   * [[Scripting:Cutscenes|Cutscenes Overview]]
 +  * [[Scripting:Samples|Samples]]
   * [[Scripting:Reference|Reference Index]]   * [[Scripting:Reference|Reference Index]]
- 
-  * [[Scripting:Samples|Samples]] 
  
 ===== Introduction to World Scripting ===== ===== Introduction to World Scripting =====
-The Universal allows world owners to control much of the game via script. Using the custom scripting language you can create new behaviours for items and scenes on your world. Although the scripting language is fairly simple, you will require some knowledge of programming to understand and make the most of the features on offer. Check [[scripting:basic_syntax|here]] for an introduction to the language, and a description of the general format and limitations, and for further in-depth specifications of the individual script commands, check the '[[scripting:Reference|Scripting Language Reference]]'.+The Universal'world server program allows owners to control much of the game via script. Using the custom scripting language you can create new behaviours for items and scenes on your world, add screens, buttons, cutscenes and special effects. Although the scripting language is fairly simple, you will require some knowledge of programming to understand and make the most of the features on offer. Check [[scripting:basic_syntax|here]] for an introduction to the language, and a description of the general format and limitations, and for further in-depth specifications of the individual script commands, check the '[[scripting:Reference|Scripting Language Reference]]'.
  
 ===== Event Scripting ===== ===== Event Scripting =====
Line 37: Line 32:
  
 ===== Script Files ===== ===== Script Files =====
-The primary 'script' a server runs is stored in a file called ''Data\Scripts\ServerScript.mit'' - this is a text file that can contain commands and scripted events ( You can include other files (see #include docs) ). To change your script file, modify it in a text editor (or in the in-game editor when its finished) and then tell the server to reload it bt pressing F11 (or using the command ***reloadscript**). +The primary 'script' a server runs is stored in a file called ''Data\Scripts\ServerScript.mit'' - this is a text file that can contain commands and scripted events ( You can include other files (see [[scripting:other_language_features|#include]] docs) ). To change your script file, modify it in a text editor (or in the in-game editor when its finished) and then tell the server to reload it bt pressing F11 (or using the command ***reloadscript**). 
  
 For a quick Hello World example.. Connect to your world, copy the code block below into your serverscript.mit, press f11 then type **&test** For a quick Hello World example.. Connect to your world, copy the code block below into your serverscript.mit, press f11 then type **&test**
scripting.1402158684.txt.gz · Last modified: (external edit)