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? ???
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".
Great. Thanks!