Need to Limit Access for Use Items/Other [SOLVED]

This forum is meant for requesting technical support or reporting bugs.

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

Need to Limit Access for Use Items/Other [SOLVED]

Postby 3dgamer » Wed Mar 11, 2009 7:22 am

Hey All,

I am trying my best to wind down to releasing the nanodemo, but I keep running into these little snags.

The new snag is that I have implemented a magnifier ("use items on each other") where you can view certain things in the inventory up close. It works fine for the most part, except for one thing. If I have a frame with hotspots on it to other frames to look at other parts of an item, if the player then goes from one of those frames and looks at yet another inventory item with the magnifier without fully leaving the one he/she was already in, then there can possibly be an endless loop when trying to go back to the original frame in the game. This doesn't occur often and most of the time the game is non-linear where you can do this, but at just one or two places there is an endless loop.

I've fixed pretty much all of the other loops except the last two. What I'd rather do, though is simply disable the player from accessing another inventory item in the inventory while he or she is already viewing an item with the magnifier.

Is there a simple approach to limit/disable a player from using the magnifier until he/she has fully returned to the original game screen? I know that most likely people do go back to the original screen before looking at another item, but since there is a capability of doing this, I don't want the player to ever encounter an endless loop.

So any limitation code for restricting access to other "use items on each other" features, so it can only be accessed one at a time, would be greatly appreciated. :)

TIA!
Last edited by 3dgamer on Thu Mar 12, 2009 5:11 am, edited 4 times in total.
3DGamer
User avatar
3dgamer
Expert Member
 
Posts: 301
Joined: Mon Dec 15, 2008 7:12 am

Postby mercedes » Wed Mar 11, 2009 8:06 am

Hi there..:)..

There are a few solutions to this..I gather it depends on whether or not u want to keep it as frames they access to view the item up close. I myself found it easier with hotspots..--you can make the item appear description as large/small as u want..and the user can close it..or they can view another item safely with the magnifier..without running into that problem..:)

However if u want to do with frames..U can put script in the advanced of the frame..

Action.hideinventorybutton --to hide the inventory
Action.showinventorybutton --to show it again..

I don't know if that will work for u..sometimes it doens't..:?

Tutorial on going so many frames back

Inventory Plugin
The main purpose of this plugin is to allow going through multiple frames for examining one given item, and then going back to the game. It does not work properly if you examine a second item while you are examining a first item. To fix that you should be able to use the hideinventory/showinventory button option..:)

Hope that helps..:D

Adieux~
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby 3dgamer » Wed Mar 11, 2009 3:52 pm

Hi Mercedes, :)

Thanks so much for the info. I am already doing a modified version of what is described in the "Tutorial on going so many frames back" link, but the show/hide inventory button approach sounds like the way I want to go with this because then the player won't be able to get into any trouble. :) So I'll work on doing that.

I'll also check out the Inventory plugin for using it in future puzzles.

Thanks again for the tip! :)
3DGamer
User avatar
3dgamer
Expert Member
 
Posts: 301
Joined: Mon Dec 15, 2008 7:12 am


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests