Identifier differs from original declaration

Started by rodriguez1222, Fri 08/12/2006 10:50:34

Previous topic - Next topic

rodriguez1222

I changed the graphics on my Inventory GUI, nothing else, this is the line Im getting the error in:

function show_inventory_window () {

I tried changing around the lines afterward and nothing else happens.  I started a new game and it seems the script is the same by default, but it works fine there.

I've no idea what to do to get it to work, I searched the forum for the specific error with no results.  I'm so close to completion on this thing and was expecting the inventory graphics to be an easy thing to alter...lol..

Any help you could offer would be appreciated.
Thanks

Ashen

I know what you're thinking ... Don't think that.

Gilbert

Did you use a custom inventory or the internal AGS (Sierra) inventory?
Check the function show_inventory_window () to see which one is being used.
If you deleted some default sprites for the internal one, there might be errors when calling it, if you want to use your own button graphics but the internal GUI, make sure you set that the new graphic to use the same slots of the default ones.

rodriguez1222

it seems the error was in attempting to call the inventory window from two different GUIs.

I deleted the second GUI and remade it and it works now.

Could you possibly put here what the error means, for future reference?

Obviously I did something wrong the first time I created the second GUI but I have no idea what and this prevents me from learning from whatever mistake I made.  I'm a firm believer in the notion that having a working script isn't as important as why it works.

Thanks for the quick responses.  You guys are great!

SMF spam blocked by CleanTalk