Jump to content

llAttachToAvatar


EnCore Mayne
 Share

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

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

Recommended Posts

i've got a HUD (2) inside another HUD (1) that gets attached with this touch command:

            llRezObject("moveHUD", llGetPos() + <0.0, 0.0, -0.8> * llGetRootRotation(), ZERO_VECTOR, llEuler2Rot( drop * DEG_TO_RAD ) * llGetRootRotation(),1);

this drops the HUD (2) at the avatar's feet. the HUD (2) with another script requests permissions to attach. if accepted it attaches to the avatar's screen:

            llAttachToAvatar(ATTACH_HUD_CENTER_1);

everything seems to work fine so far. unfortunately the HUD (2) creates itself into inventory every time it's used. is there some way to attach the HUD (2) without it adding another copy in inventory ad infinitum? if not, is there a way to delete it from inventory without user intervention?

 

Link to comment
Share on other sites

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