How to hide the Inventory Icon after picking something up
Posted: Fri Feb 22, 2008 6:29 pm
Sometimes you may think that this Inventory Icon is hiding some of the beautifull graphics you 've designed. So there is a way to make it disappear ...
Write this piece of code in the hotspot which gives you the item
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:
in the Advanced tab of the frame
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