|
Zena Juran
Registered User
Join date: 21 Jul 2007
Posts: 473
|
09-17-2007 12:44
I would like to change the channel number for unlinked object to object (''llWhisper - llListen) communications everytime a specific event occurs. One object rezzes the other (the specific event) and may be in close proximity to another set of the same objects. I'm trying to prevent cross communications between objects or is that not a worry? Any help in this area will be greatly appreciated! 
|
|
Debbie Trilling
Our Lady of Peenemünde
Join date: 17 Oct 2006
Posts: 434
|
09-17-2007 13:58
One solution could be to use code similar to the following to generate a random negative obscure channel number: From: someone integer CommChannel;
CommChannel = 0 - ((integer)llFrand(89999.0) + 10000);
and then pass this as the 'integer param' parmeter of llRezObject: From: someone llRezObject(string inventory, vector pos, vector vel, rotation rot,CommChannel);
The newly rezzed object receives CommChannel as the 'integer start_param' of it's on_rez event.
|
|
Zena Juran
Registered User
Join date: 21 Jul 2007
Posts: 473
|
Thanks Debbie
09-17-2007 18:54
This will work wonderfully. Thank you so much for your help! 
|