Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds a new script command 'modInvoke' to invoke registered functions | Mic Bowman | 2012-03-15 | 1 | -2/+97 |
| | | | | | | | | | from region modules. The LSL translator is extended to generate the modInvoke format of commands for directly inlined function calls. A region module can register a function Test() with the name "Test". LSL code can call that function as "Test()". The compiler will translate that invocation into modInvoke("Test", ...) | ||||
* | Add IScriptModuleComms interface and region module to handle dispatch of | Melanie | 2009-11-10 | 1 | -0/+105 |
script messages to region modules and sending back replies. Hook IScriptModuleComms.OnScriptCommand to see commands and use DispatchReply to reply to the script. It is recommended to pass the "id" parameter from the event as the "k" parameter of the reply. The script will receive the reply as a link message from link -1. |