Gemini Breil Posted August 19, 2011 Share Posted August 19, 2011 Hi, I created a HUD script and everytime you detach it then wear again the script seems to reset. It loses its settings and returns to default. If I drop it on the ground it doesn't reset though, it only seems to do that when attached.I do have a script reset on a changed owner event but otherwise no other resets are called. Any idea what causes this and how to prevent? Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted August 19, 2011 Share Posted August 19, 2011 Do you have an attach event that could cause it? It doesn't necessarily have to be a reset, but just a resetting of some values that is done in the attach event. Otherwise, post the code. Link to comment Share on other sites More sharing options...
Gemini Breil Posted August 19, 2011 Author Share Posted August 19, 2011 Oh I found it... I had an error in an 'if' statement. Left out the 2nd = sign. doh! Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted August 19, 2011 Share Posted August 19, 2011 There is no resetting per se for attachments when you attach them. I have quite a few HUDs that preserve their state during attach/dettach. I'm pretty sure it has to do with your script. But without seeing it, it's more or less wild guessing. Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted August 19, 2011 Share Posted August 19, 2011 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