This module provides two major areas of functionality to the simulator.
- it adds a range of new commands to the console
- it provides a scripting "engine", which grants users the ability to execute MRM addins.
Creating an object containing a MRM Addin script is much like creating any other scripted object, the only difference is that the "script" does not contain any code to be executed, it merely declares what pre-loaded addin should be attached to the prim, and the engine will take care of the rest.
e.g. instead of:
llSay(0, "Hello world");
This is very similar to the way MRM is entered, except that no code is entered, the script only contains this single line, and any other text in the script is simply ignored.
The above example, assumes that the administrator has installed the HelloWorld?.addin, if the addin hasn't been installed, an error message will be displayed in the debugging console of the viewer, stating:
Primitive: Could not load MRM Addin. HelloWorld?.addin
The module provides a number of new commands on the region console for managing the addin registry. MRMAddin relies on the Mono.Addins engine already used by OpenSim? (Hence the name of the module).
Almost all of the commands available on the mono commandline tool mautil has been implemented. All MRMAddin commands start with the keyword mrmaddin.
List all the major command groups, reg, rep and addin
A collection of commands, all related to managing the addin registry
mrmaddin reg update
Rescan the local filesystem for addins, and update the registry with the result
mrmaddin reg rebuild
A collection of commands related to managing repositories
A collection of commands related to managing individual addins
Edit this page (last edited 2009-07-08 20:36:15) [Show diff]
|No Associated Items Found|
|Topic||Topic Starter||Messages||Last post|
|There are no threads.|