Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorsintrenton
    • CommentTimeNov 3rd 2007
     # 1

    It is great having access to your tools on the HUD.
    Sometimes they tend to clutter up, though and you may want to move them out of the way temporarily.

    I use this simple script for doing this. Not being the scripting guru, maybe someone has a more optimal code for it? This works quite well for me, though.
    The poistions in this places it on the lower part, left side of the screen and it moves it further to the left, if you click on it. Of course, you need to adjust the positions llSetPos(<x, y, z>);, depending on the size and shape of the HUD object, etc.

    integer bPositioned = 0; default { state_entry() { } on_rez(integer p) { llResetScript(); } touch_start(integer total_number) { if(0 == bPositioned) { llSetPos(<0.032, 0.765, -0.145>); bPositioned = 1; } else { llSetPos(<0.032, 0.548, -0.145>); bPositioned = 0; } } }