Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How do I fix the Custom Menu RTE 340?


Akselj
 Share

Recommended Posts

This is posted in right section.
Well I have another custom menu error which I have gotten since I first started to use Custom Menu's. I often get RTE 340: Control array element (Number, I think it is index number of object in custom menu) does not exist. Anyone got a fix for it? I can't post my complete main, and I do not think it is required since I even get it with working scripts. Reason I can not post is I am working on a secret project I do not want to reveal to all Eclipse.

Thanks,
AkselJ
Link to comment
Share on other sites

Wait, I think I got this error myself a few times…
I think what causes it is if you have a menu open, and you try to add a label (or picture, or message box) with a lower index number than one you've already put in.  Check to see if that's happening, and if it is, just change the indexes of the labels (or pictures etc.) so it doesn't do that.
Note: It does NOT give you this error if you're just changing a label or picture that already exists, it only happens if you're adding a new label or picture with a lower index number than one already there.
Ex:
Call CustomMenuLabel(99, etc.)
Call CustomMenuLabel(6, etc.)
will cause an RTE.
Link to comment
Share on other sites

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...