04-14-2005 10:32
There's a few ways you could do this one, but I'll use the one I like most.

Instead of using llWhisper, llSay, and llShout, we should get rid of whisper and shout and change llSay to work like this:

llSay(integer channel, float distance, string message);

The key change, of course, is that float distance would set the distance that a message would be sent by the object using the script. I think right now, llWhisper goes 5 meters, llSay goes 20m, and llShout goes 100m. Well with the new function, llSay(0,50,"Sup";); would have the object say "Sup" in only a 50 meter radius around it. This would be extremely helpful for game development (at least in cases I've come across). Even if object2object comm was possible, having a talk radius larger than 20m but smaller than 100m can be really helpful, and having a talk radius larger than 5m but smaller than 20m would be nice too.

Basically, this just adds more flexibility to llSay(). You could make it something completely new like llTalk or have a llSetSayDistance but I think that may be too much. I'm not sure.

5 "Aye"s and I'll put this on the system.
_____________________
llToggleDaveZeemanIntelligence(FALSE);
Philip Linden: Zeeman, strip off the suit!
Dave Zeeman - Keeping Lindens on their toes since v0.3.2!