Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Is there a script around that can....

Paul Sarlo
Registered User
Join date: 15 Jul 2006
Posts: 4
08-11-2006 23:04
Is there a script that can make it so that a object attached to a avatar will only show if the avatar dose a certain gesture?

p.s. btw im new..
Avil Creeggan
Crazy Stalker.
Join date: 16 Jul 2006
Posts: 39
08-11-2006 23:08
Set full alpha.
Get the animation key.
Set a timer event.
On the timer event, pull the animation list.
Check the animation key against the animation list.
Set visibility.
When the key can no longer be found, set alpha.
Paul Sarlo
Registered User
Join date: 15 Jul 2006
Posts: 4
08-11-2006 23:24
i dont really understand...lol
could you dumb it down
maybe step by step...
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
08-12-2006 01:50
From: Paul Sarlo
i dont really understand...lol
could you dumb it down
maybe step by step...


You need to take some scripting classes and read the scripting wiki. Once you do that, the above steps will become obvious to you.
hurly Burleigh
Registered User
Join date: 19 Sep 2005
Posts: 167
08-12-2006 04:33
Ok it may be obvious to some people but if you are totally new to scripting the wiki can be very confusing and a good cure for insomnia. I tried it and got hopelessly lost on all the side tracks i was sent down for each topic. :(

Remember not everyone has grown up with computer knowledge.
I personally find the syntax is not very intuitive.
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
08-12-2006 07:40
From: Paul Sarlo
Is there a script that can make it so that a object attached to a avatar will only show if the avatar dose a certain gesture?

p.s. btw im new..


If you can edit the gesture you could add a chat line like /1start and another with /1stop which get spoken at the start and end of the gesture, in the attachment it listens for these commands on channel 1 and then adjusts the alpha of the object accordingly.

LSL Tutorials: http://secondlife.com/badgeo/wakka.php?wakka=LSLTutorials
How to use listens: http://secondlife.com/badgeo/wakka.php?wakka=llListen
How to set alpha: http://secondlife.com/badgeo/wakka.php?wakka=llSetLinkAlpha
(note: you're looking to use ALL_SIDES and LINK_SET here)
_____________________
www.nandnerd.info
http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum