Inventory Screen Crashes my game!

Started by The_Creep, Fri 09/04/2004 00:30:01

Previous topic - Next topic

The_Creep

I don't know whether its something I've done, or just a random error, I'm hoping you guys can help. I'm using the default GUI from the template, and everytime I click on the inventory icon the game bombs out and gives me this error message



Pushing tab brings up the inventory window with no problems, its only when I use the GUI,
anyone have any ideas??
If you had nothing left, would you risk it all to change everything?

Gilbert

Did you put something like:

import function interface_click(whatever);

in the script header or on top of a room script?

In that case, remember the number and type of characters for that function (in this case teh "whatever") MUST match the one defined in the global script.

In the global script, the function interface_click() accepts two parameters of type int, so that import line should be something like:

import function interface_click(int gui, int button);

Check whether the number and type of parameters match this.

SMF spam blocked by CleanTalk