|
Veeva Saunders
Registered User
Join date: 15 Mar 2008
Posts: 4
|
07-31-2008 06:29
I wanted made some comunication between two attached prims. Each on another avatar. So i used Email, but to can use it must know prims UUID and now i find out, that if Avatar relog or reatch prim, that prim change UUID and i cant send next mail. IS possible do it by some another way?
|
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
07-31-2008 07:31
If the avatars are in the same sim, you could use "llRegionSay". That can be used to send hidden chat messages to anything else in the same sim, and can be received in the "listen" event. Just pick a random channel number to do it.
If the avatars are *not* in the same sim, then I'm afraid you can't really do direct communication without knowing the UUIDs. What you *could* do is make a single object which is always rezzed in-world (not attached to an avatar), and it acts kind of like a go-between. Each attachment will send a message to the go-between whenever it changes its UUID (use the attach or on_rez events I think), so it always knows the UUIDs of the attachments, and can send the messages as necessary. It's a bit complicated, but it should work.
|
|
Veeva Saunders
Registered User
Join date: 15 Mar 2008
Posts: 4
|
07-31-2008 09:42
Thanks for your help, i will thinking about it.
|