Sign in to follow this  
Atrivixo

Linking scripts

Recommended Posts

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"?

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this