Write this piece of code in the hotspot which gives you the item
- Code: Select all
Action.CreateTimedEvent 3,"Action.HideInventoryButton"
where 3 can be replaced with any number of choice (any number under 3 is not recommended).
If you want the player to have access to his inventory again in another frame just type:
- Code: Select all
Action.ShowInventoryButton
in the Advanced tab of the frame