Script Modules: Difference between revisions

Jump to navigation Jump to search
no edit summary
*>SSH
No edit summary
 
*>SSH
No edit summary
Line 6: Line 6:
; Import : load a module from a .SCM file that you have downloaded
; Import : load a module from a .SCM file that you have downloaded
; Export : save your own module as a file others can use (modules are also saved in with the game they are used, so you don't HAVE to export them unless you want other to use them)
; Export : save your own module as a file others can use (modules are also saved in with the game they are used, so you don't HAVE to export them unless you want other to use them)
* Remove : Deletes an existing module form the game
; Remove : Deletes an existing module form the game
* Move up : The order of modules can be important, as it reflects the order in which they are compiled and run, so this option and the next let you chnage their ordering.
; Move up : The order of modules can be important, as it reflects the order in which they are compiled and run, so this option and the next let you chnage their ordering.
* Move down
; Move down


Modules contain a script and a header, similar to the global script and header. They are compiled before the global script/header and can contain their own versions of global script functions such as repeatedly_execute, on_event, etc.
Modules contain a script and a header, similar to the global script and header. They are compiled before the global script/header and can contain their own versions of global script functions such as repeatedly_execute, on_event, etc.


You can also eneter a breif description of the module, a version number and authorship details in the module manager when you create a module. There are options, too, to protect the script and the module info from modification if you export and distribute your own module.
You can also eneter a breif description of the module, a version number and authorship details in the module manager when you create a module. There are options, too, to protect the script and the module info from modification if you export and distribute your own module.
Anonymous user

Navigation menu