[Opensim-users] Opensim-users Digest, Vol 44, Issue 10
dz
dz at bitzend.net
Tue Apr 5 14:43:10 UTC 2011
Aloha.
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.
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.
D
On Tue, Apr 5, 2011 at 3:00 AM, <opensim-users-request at lists.berlios.de>wrote:
> Send Opensim-users mailing list submissions to
> opensim-users at lists.berlios.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.berlios.de/mailman/listinfo/opensim-users
> or, via email, send a message with subject or body 'help' to
> opensim-users-request at lists.berlios.de
>
> You can reach the person managing the list at
> opensim-users-owner at lists.berlios.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Opensim-users digest..."
>
> Today's Topics:
>
> 1. Re: One object sending a method to another (Toni Alatalo)
>
>
> ---------- Forwarded message ----------
> From: Toni Alatalo <toni at playsign.net>
> To: opensim-users at lists.berlios.de
> Date: Tue, 5 Apr 2011 12:55:42 +0300
> Subject: Re: [Opensim-users] One object sending a method to another
> On Apr 5, 2011, at 12:24 PM, Fish Kungfu wrote:
>
> 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:
> http://slconceptual.wordpress.com/2007/05/17/lsl-swarm-script-for-second-life-make-birds-butterflies-etc/
>
>
> That seems to use the chat messaging technique that the original poster
> asked about, things like llSay(school_comm_channel, (string)myvel);
>
> 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.
>
> 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.
>
> ~Toni
>
> On Apr 5, 2011 5:19 AM, "Toni Alatalo" <toni at playsign.net> wrote:
> > On Apr 5, 2011, at 12:07 PM, Simon Slavin wrote:
> >> 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 ?
> >
> > AFAIK this is the only way in LSL.
> >
> > 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.
> >
> > 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
> http://code.google.com/p/rexprojectspace/source/browse/trunk/rexprojectspacemodule.py
> >
> >> Simon.
> >
> > ~Toni
> >
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20110405/600adac7/attachment.html>
More information about the Opensim-users
mailing list