TheGovnor Posted June 6, 2016 Share Posted June 6, 2016 Hi All Im trying to make the contents of a hud self delete after 5 seconds and also detach from the avatar. Heres the script. It saves and works as intended, except the deleting part... Any help or suggestions would be very much appreicated. Oh and it works fine when i change it to on rez. Link to comment Share on other sites More sharing options...
Freya Mokusei Posted June 6, 2016 Share Posted June 6, 2016 To my eyes, your primary mistake was not using a Code block to paste your code into. Now all the indentation is gone and it's harder to read. Use the button in the text editor that looks like a piece of paper with </> in it, and post your code inside that. More stuff:- Not sure why there's an open parentheses inside timer(). Not sure why you're only deleting 1 item, only if it's called "Object". Is this correct logic? Specifically, should the operator (highlighted) be NOT? if(llGetAttached() ATTACH_HUD_CENTER_1) Link to comment Share on other sites More sharing options...
TheGovnor Posted June 6, 2016 Author Share Posted June 6, 2016 Ah got it sorted. Your comments help me figure it out. Im new to scripting . TY . Link to comment Share on other sites More sharing options...
Freya Mokusei Posted June 6, 2016 Share Posted June 6, 2016 Good stuff. Hope you remember about the Code block for next time! Link to comment Share on other sites More sharing options...
Recommended Posts
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