|
Silverwing Benoir
Registered User
Join date: 5 Nov 2007
Posts: 3
|
03-29-2009 08:32
Does anyone know how I can detect the presense of those little green sound waves with a script? Or anything else that would prove that an avatar is actually using voice in-world would do just as well. Like detecting that their lips are moving..
|
|
Cypher Ragu
[Mad Scientist]
Join date: 6 Jul 2008
Posts: 174
|
03-29-2009 09:45
There currently isn't any way to detect that sort of stuff, unless you have a bot.
The closest you could probably get is:
if (llGetAgentInfo(agent_key) & AGENT_TYPING) { //Insert code here//
That would detect if the avatar is typing something into chat. Sorry I couldn't be of much help.
_____________________
Life is a highway... And I just missed my exit.
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
03-29-2009 09:46
can't be done.
The most you can do, is modify the "Speech Gestures" in the library. You can make these gestures "speak" on a given channel to let a scripted device with a matching listen know that you're speaking.
That's it.
There's no method within LSl to detect speech is even BEING used, much less who is using it. The gesture trick can SORT-Of work.. but it won't help you detect when a stranger is speaking.
ETA: you MIGHT be able to scan an avatar for the current animations it's playing.. so if you had a list of "known speech animations" you might be able to detect for those. Seems kind of process-heavy though, to scan every single avatar nearby for their animations and check if any of several animations are found on them...
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|