Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Is this possible.....

Dax Kirkorian
Registered User
Join date: 21 Mar 2006
Posts: 11
05-19-2006 15:38
ok ran into a problem where a smoking animation I made using Avimation doesn't play right on male and female Av's, so had to make two seperate anims, is it possible to make a script that will ask when you equip the cig, which anim you would like to use and then start the standard smoking actions using said anims?
Quince Farber
Registered User
Join date: 14 Jan 2005
Posts: 9
05-19-2006 19:26
sure
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
05-19-2006 23:30
Slightly more usefully - look up llDialog[/ulr] on the [url=http://secondlife.com/badgeo/wakka.php?wakka=HomePage]wiki[/url].

Although there are fancier ways to do it, given the ability people have to change shapes popping up a dialog box every time they attach it, asking if they're male or female then using the listen event to trigger the correct anim based on their reply works pretty well.