|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
12-06-2006 07:44
I've been asked this a couple of times now... how can you trigger a gesture from within a script? My belief is that it's not possible. Clearly you could replace a gesture by scripting it, but is there anyway to trigger a predefined gesture?
llDialog would seem the obvious method and while you can get it to repeat say: /boo on channel 0, the gesture is not triggered.
Anyone know if there's a trick to this?
|
|
Jokey Domela
Registered User
Join date: 27 Jul 2005
Posts: 83
|
12-06-2006 07:47
According to the wiki: http://lslwiki.com/lslwiki/wakka.php?wakka=gestureA gesture cannot be triggered by a script.
|
|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
12-06-2006 09:21
Thanks for the reference, Jokey, I just wanted to check to see if anyone knew differently... sometimes the manual is wrong. 
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
12-06-2006 09:33
You can not trigger a gesture. But a gesture is a compilation of sound, animation and chat. So you can use a script to call all 3 individual parts at the same time. I am not familiar with the "boo" gesture but you could easily make a script that when triggered would play sound "boo", animation "boo" and say "boo" in chat.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Halo Ra
Registered User
Join date: 12 Dec 2006
Posts: 1
|
01-25-2007 15:14
Can someone lead me to the place where I could cobble together this kind of script, one that imitates a gesture (animation, sound, chat)? Thanks very much.
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
01-25-2007 15:27
... though I beleive you CAN make a gesture talk to a script. Imagine making a Gesture to draw a sword. You hit F2, and the script types into chat "/me draws her sabre, and readies it to attack her foe"... then in the next line, it types into chat "/887723 draw"
The scripted sword hears this on channel 887723, and plays the draw animation, and changes the visibility of the sword at your hip, and the formerly infisib;le sowrd on your hand.
It's a way for gestures and scripts to work together.
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|