Just a little work around for the view object in Inventory

This forum is meant for posting anything related to Adventure Maker that doesn't fit in the other forums.Please post technical questions in the Technical Support Forum!

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Just a little work around for the view object in Inventory

Postby Candle » Mon Sep 18, 2006 7:04 am

HideInventoryButton
Causes the inventory button and the drop-down inventory to disappear (works only when the "Drop-Down Inventory System" is enabled in the "Project Properties" window). To make them reappear, use the "Action.ShowInventoryButton" command.

If you have put a "magnifier" item in the player's inventory, and you want to display an "Item Description" frame each time that the player drags the magnifier onto an inventory item, it is recommended that you hide the inventory to prevent the player from dragging the magnifier onto another inventory item while the "Item Description" frame is still open (which would result in the "Go back to the last visited frame" command not working properly).

But when they return to the last frame with the Action.GoToFrame "Last Visited Frame" code you will find that your inventory is not down.
So just add to the link you have to Last Visited Frame
Action.ShowInventoryButton
So when you return your Inventory won't be stuck at the top.
User avatar
Candle
Administrator
 
Posts: 3056
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Return to Adventure Maker General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron