Inventory error messsage.

Started by ZAB123, Tue 21/08/2007 18:02:17

Previous topic - Next topic

ZAB123

While testing my game I made following the tutorial, if I click on key I've plased in the room, then go into inventory, only the AGS cup show up. When I click on that the game ends with a message: Error SetActiveInventory: invalid inventory number 0.

How do I fix this? ???

Khris

In the editor, open the room you've created, then select Objects.
Check the Interact object events you've created.
The second one would be "Player - Give the player an inventory item (0)"

Edit this so it says "1".

ZAB123


SMF spam blocked by CleanTalk