Aloha.<br><br>You also need to remember that OpenSim does NOT enforce all the linking rules that SL does..   It is possible to have a single linked object with more prims and more space between them,  yet still pass messages  via the SetLinkedPrim functions and link_messages.<br>
Again  YMMV, and most of the LSL inter-script limitations apply.  However...with careful planing  and scripting, it is possible to encode and send significant amounts  of  non-string data by using  some prim properties as parameters.  <br>
<br>D<br><br><div class="gmail_quote">On Tue, Apr 5, 2011 at 3:00 AM,  <span dir="ltr"><<a href="mailto:opensim-users-request@lists.berlios.de">opensim-users-request@lists.berlios.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Send Opensim-users mailing list submissions to<br>
        <a href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:opensim-users-request@lists.berlios.de">opensim-users-request@lists.berlios.de</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:opensim-users-owner@lists.berlios.de">opensim-users-owner@lists.berlios.de</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Opensim-users digest..."<br>
<br>Today's Topics:<br>
<br>
   1. Re: One object sending a method to another (Toni Alatalo)<br>
<br><br>---------- Forwarded message ----------<br>From: Toni Alatalo <<a href="mailto:toni@playsign.net">toni@playsign.net</a>><br>To: <a href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</a><br>
Date: Tue, 5 Apr 2011 12:55:42 +0300<br>Subject: Re: [Opensim-users] One object sending a method to another<br><div style="word-wrap: break-word;"><div><div>On Apr 5, 2011, at 12:24 PM, Fish Kungfu wrote:</div><blockquote type="cite">
<p>Depending on exactly what you want to accomplish, you might want to look at some of the AI swarm/flock/school scripts.  Here is one:  <a href="http://slconceptual.wordpress.com/2007/05/17/lsl-swarm-script-for-second-life-make-birds-butterflies-etc/" target="_blank">http://slconceptual.wordpress.com/2007/05/17/lsl-swarm-script-for-second-life-make-birds-butterflies-etc/</a></p>
</blockquote><div><br></div><div>That seems to use the chat messaging technique that the original poster asked about, things like llSay(school_comm_channel, (string)myvel);</div><div><br></div><div>Being able to share data for the whole swarm, pass arbitrary types as arguments (not just strings in chat messages) and get return values from function calls etc. make normal programming easily much more efficient and straightforward.</div>
<div><br></div><div>But LSL you can do without access to the server (which region modules require), and you can run the LSLs on every opensim (&sl) server without anything special. So I think mostly depends on the case, whether it is some app that can dev on own server, or something that want to distribute LSL style.</div>
<div><br></div><div>~Toni</div><br><blockquote type="cite">

<div class="gmail_quote">On Apr 5, 2011 5:19 AM, "Toni Alatalo" <<a href="mailto:toni@playsign.net" target="_blank">toni@playsign.net</a>> wrote:<br type="attribution">> On Apr 5, 2011, at 12:07 PM, Simon Slavin wrote:<br>

>> Apparently the best method to do this is to pick a communications channel, implement a listener for each object and work out a common language they can all speak.  Does anyone know a better way of doing it ?<br>
> <br>
> AFAIK this is the only way in LSL.<br>> <br>> With Opensim, however, you also have the option to do it with normal programming .. where can just have all the objects in one application and let them call each other however they want etc. In a region module.<br>

> <br>> For example this opensim region module creates a lot of objects in the code, and keeps references to the objects in the main app class, so can just call methods in them like in normal programming: self.tree = self.initTree("naali") etc. in <a href="http://code.google.com/p/rexprojectspace/source/browse/trunk/rexprojectspacemodule.py" target="_blank">http://code.google.com/p/rexprojectspace/source/browse/trunk/rexprojectspacemodule.py</a><br>

> <br>>> Simon.<br>> <br>> ~Toni<br>> <br></div>
_______________________________________________<br>Opensim-users mailing list<br><a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br><a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</blockquote></div><br></div><br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
<br></blockquote></div><br>