Reply
Atrivixo
Posts: 33
Registered: ‎07-07-2012
0 Kudos

Linking scripts

I have one big prim, that when clicked on, the avatar holds up their hands/reaches up.

I only want the avatar to do this animation ONLY IF they are holding a certain object (object a)

So, basically what I'm asking is, in the script for the big prim, how do I add a condition that basically says "if the user is holding object a - do this"?

Complete n00b at all things SecondLife. All help greatly appreciated, I want to learn as much as possible!
Rolig Loon
Posts: 24,952
Registered: ‎10-05-2009
0 Kudos

Re: Linking scripts

Reply to Atrivixo - view message

Member
Niall Braveheart
Posts: 129
0 Kudos

Re: Linking scripts

Reply to Atrivixo - view message

Put a listener script in object a

Have the prim say something to the AV, and get the object to respond when it hears that message

If the big object gets the expected response then trigger tha animation.

 

Designs by Niall
Greeting Cards and more ...
Marketplace || Inworld || Sweet Harmony Land Rentals