Walker Spaight
Raving Correspondent
Join date: 2 Jan 2005
Posts: 281
|
01-21-2005 18:47
Does anyone know whether gestures and/or animations generate output to a chat channel and whether a script can be set to llListen for that output?
Thanks.
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
01-21-2005 19:36
My suggestion would be to script an attachment that will both play the animation with llStartAnimation/llStopAnimation (assuming proper permissions) and, if needed, an llSay/llWhisper/llShout for a listener.
Otherwise, AGENT_FLYING is the only real "gesture" that seems to be picked up directly by scripts. But a lot of that is covered in the LSL guide included with Second Life.
_____________________
---
|
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
|
01-21-2005 20:38
you can find the animation keys for all the gestures and then look for them  , but it's a lot of work.
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
01-22-2005 03:24
From: Walker Spaight Does anyone know whether gestures and/or animations generate output to a chat channel and whether a script can be set to llListen for that output?
Yes, gestures can do this. Create a gesture, and add a "chat" item to the list along with whatever else you want the gesture to do. In the chat text box, type something like "/44 stuff", which will say "stuff" on channel 44. You can output to whatever channel you want and llListen on that channel in, say, an attachment to bind LSL-scripted actions to a keystroke. I've made use of this several times... I think it's a little-known feature of gestures.
|
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
|
01-22-2005 03:41
If you mean do all gestures an anims output chat then no. gestures can have chat added to them though.
|
Walker Spaight
Raving Correspondent
Join date: 2 Jan 2005
Posts: 281
|
01-22-2005 06:52
thanks you guys, that's most helpful, much appreciated
|