Jump to content

Changing animations in a pose stand?


Guest
 Share

You are about to reply to a thread that has been inactive for 3450 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hey everyone. I was just wondering if anyone could help me out with a script. I have a script for a pose stand vendor. Its a 3 prim pose stand with the main prim and two arrow prims linked to it to change to the next or previous animation. It is working pretty good, but instead of the person who is standing on it being the only one able to change the animations, anyone around can change the animations for the person standing on it. How can I fix this to where the one standing on the pose stand is the only one able to touch the arrows to change the animation.

Here is an excerpt from the script that I believe to be the area that needs to be worked on:

touch_start(integer total_number)
    {
        if (llGetLinkName(llDetectedLinkNumber(0)) == "next" )
        {
            next();
        }
        else if ( llGetLinkName(llDetectedLinkNumber(0)) == "prev" )
        {
            prev();
        }
    }

 If more information from the script is needed, please let me know. I don't want to post the whole script here.

 

Thanks!

-Lucky

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3450 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...