Error [line 78]: Undefined Token (SOLVED)

Started by Unknown_Terror, Fri 26/01/2007 17:54:46

Previous topic - Next topic

Unknown_Terror

I was just changing the GUI to suit the looks i wanted, I deleted all the buttons from ICONBAR and started fresh, all was going fine and the game ran normal, then i deleted the buttons in INVENTORY on the GUI Editor and thats when the game stopped working....I tried to replace it with the proper names etc... but it won't work

The error i get when trying to test is this:

Error [line 78]: Undefined Token 'invCustomInv'
line 78 looks like this...  78      invCustomInv.ScrollUp();

Now i don't know what caused this to be a  problem....I'm guessing it was because i deleted the Inventory Up button, but i replaced it and it's still the same message...

Do i need to change the Script name to "invCustomInv.ScrollUp" or the Click setting, i aint a clue, any help is much appreciated Thanks guys
"To Live a Perfectly Normal Life, You Must Accept The Fact That Life Will Never Be Normal"

Akatosh

This scripting command refers to a custom inventory window named "invCustomInv".

You deleted the custom inventory window named "invCustomInv".

You replaced the gui control named "ScrollUpArrow" or something like that.

There is no custom inventory window named "invCustomInv".

The code tries to refer to a custom inventory window named "invCustomInv".

Any clue what went wrong yet?

Unknown_Terror

Amazing thanks for fast reply

God i feel so stupid, i realise now that I did delete the invCustomInv Inventory box, i guess the script was still expecting it to be there, Now i've replaced it and the game works again. For some reason i just couldn't see that it was missing.

Can't thank you enoughÃ,  ;)
"To Live a Perfectly Normal Life, You Must Accept The Fact That Life Will Never Be Normal"

Akatosh

You're welcome  :)

Everyone makes noob mistakes at the beginning. Also, welcome to the forums!

SMF spam blocked by CleanTalk