[Opensim-dev] Adding custom LSL functions
Mic Bowman
cmickeyb at gmail.com
Tue Mar 13 16:29:57 UTC 2012
here's the mantis entry:
http://opensimulator.org/mantis/view.php?id=5930
--mic
On Tue, Mar 13, 2012 at 9:22 AM, Mic Bowman <cmickeyb at gmail.com> wrote:
> PMint,
>
> I just posted a patch to mantis for an *experimental* feature that enables
> invocation of functions defined by a region module. In your region module
> you register a binding for a function with the ScriptWorldComms module and
> then you can use in your script either a call like:
>
> string result = modInvoke("myRMfunction",12,"abc");
>
>
> or you can make the calls directly
>
> string result = myRMfunction(12,"abc");
>
>
> the LSL compiler just translates the second form into the first on your
> behalf.
>
> there is some instruction in the mantis entry with the patch (i can't get
> to mantis right now, i'll post the link when its back up). and once the
> code settles a little (still have some modifications to make for the return
> type), i will put together more complete documentation.
>
> --mic
>
>
> On Mon, Mar 12, 2012 at 3:11 PM, Per Mint <pmint6 at gmail.com> wrote:
>
>> Justin, Mic,
>>
>> Thanks, I understand better. I will use modSendCommand() for now.
>>
>> Best,
>> PMint.
>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20120313/50ec965d/attachment-0001.html>
More information about the Opensim-dev
mailing list