ERROR: InventoryScreen - SOLVED

Started by Kikutaâ„¢, Tue 14/12/2004 23:14:22

Previous topic - Next topic

Kikutaâ„¢

I've created a new game using blank template, so i didnt had any gui already made.
I've created an inventory gui, all from scratch. I code it and everything. But it when i press the right buttonÃ,  (it does InventoryScreen() ) it always gives an error that i cant understand.

The error is this:

"ERROR: InventoryScreen: one or more of the inventory screen graphicsÃ,  have been deleted"

No matter how i do it always gives this error. I even tried to rip the default inventory gui just to check if it was my error. It gives the same old error. I've also tried to take the background image and the button imagens and nothing.

Did anyone seen that this error is ?

Pumaman

The InventoryScreen() command attempts to bring up the default built-in inventory GUI, but its graphics have been deleted from the Blank Game template.

What you probably want to do is display your brand new custom inventory GUI -- so instead of doing this:

InventoryScreen();

you want to do this:

GUIOn(INVENTORY);

where INVENTORY is the name of your GUI.

Kikutaâ„¢

#2
I've already did that in function show_inventory_window()

But it's very wierd because if i press TAB it doesnt appear that error, but if i press the right button, the only thing i get is that errorÃ,  :-\

Shall i substitute the InventoryScreen() for show_inventory_window() ?

Ah, ok! :D I've get it now! thanks  ^^ I'm always complicating.

SMF spam blocked by CleanTalk