GUI Sprites deleted... BUG!?!

Started by DoorKnobHandle, Mon 20/10/2003 21:38:34

Previous topic - Next topic

DoorKnobHandle

Sorry for another question from me, but...

I deleted the "Inventory GUI" sprites because I made my own, with selfmade sprites of course.

I checked several times, that no object using an old sprite is in that GUI, but when I use "GUIOn (INVENTORY);" the game crashes with that "GUI Sprites deleted" message!

What can I do?

Pumaman

Are you using a custom inventory or the built-in InventoryScreen?

Either way, you should replace the existing sprites rather than deleting them and importing new ones, since that will re-number them.

Use the Re-number Sprite feature to put the three GUI icons back to slots 2041, 2042 and 2043.

DoorKnobHandle

#2
I am using the standard SInventoryScreen!


Thanks for your tip and the slot numbers!

EDIT: How can I rename sprites???

Pumaman

Right-click on the sprite and do "Change sprite number". This was only introduced in v2.56 so if you're using an older version you can't do it.

DoorKnobHandle


SMF spam blocked by CleanTalk