Jump to content

where have I gone wrong??


TheGovnor
 Share

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

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

Recommended Posts

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...