Jump to content
Sign in to follow this  
spookcity

Does SL allow making huds to reattach body parts on the fly?

Recommended Posts

I have these legs that always wonk out, and any time I stand up I have to manually go in, take them off, then readd them to fix. Are there methods in place that lets me whip up a script to do it? Never touched LSL before, but I've used other languages

Share this post


Link to post
Share on other sites

You could get the legs to detach automatically using LSL, but not reattach themselves. Once they're inactive in inventory, that's it as far as LSL is concerned.

One way using just LSL would require you to have rez rights for the land you're on at the time (which will probably be only very occasionally). You'd need a script in a HUD or other attachment that'd re-rez the legs and a script in the legs that'd reattach them.

However, were you to use a third-party viewer with RLV enabled the process would be fairly straightforward. Have a HUD script polling llGetAnimation to spot a change from sitting to standing and then use RLV commands to detach and reattach the legs.

Not knowing anything about your legs though, have you tried the reset skeleton option on your avatar's right-click menu?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...