Jump to content

Worn Hud Control Worn Object?


KyberC
 Share

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

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

Recommended Posts

Hi,

I am a novice scripter and builder. I have built a HUD with control prim buttons that trigger animations. What I want to occur is to control the properties of a second worn item,  e.g. the level of flexi prim softness or angle being held after the animation plays from clicking within the HUD.

Can one worn prim control properties to another worn prim? A simple example would be welcome.

Kyber

Link to comment
Share on other sites

If you put a listening script in the worn item, you can simply send it messages from the HUD, using llRegionSayTo(llGetOwner(),-x,"message of some kind"), where -x is a negative integer.  Any attachments you are wearing will be able to hear the message.  Your listening script then just has to take the message and act on it to alter its properties.  I'd use llSetLinkPrimitiveParamsFast to alter the PRIM_FLEXIBLE parameter.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3627 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...