2 QUESTIONS

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

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

2 QUESTIONS

Postby GORDON » Wed May 23, 2007 4:21 am

Thanks for all the previous help! 2 Questions:
1. Using the magnifier on an item gives me my frame. If I change that frame to a new frame, I don't want to exit to "last frame visited"
How can I get back to the frame the player last visited before using the magnifier, which could be anywhere?

2.If a frame property has the code "Action.AddItem "ABC" how do I stop adding duplicate items everytime I go to that frame?
GORDON
Advanced Member
 
Posts: 154
Joined: Mon Apr 30, 2007 1:36 am
Location: Canada

Postby Imari » Fri May 25, 2007 10:36 pm

GORDON asks -
1. Using the magnifier on an item gives me my frame. If I change that frame to a new frame, I don't want to exit to "last frame visited"
How can I get back to the frame the player last visited before using the magnifier, which could be anywhere?


There might be a way to do this with scripting, but I don't know how.

2.If a frame property has the code "Action.AddItem "ABC" how do I stop adding duplicate items everytime I go to that frame?


I think the easiest way to do this would be to check the "Hide and disable permanently" box in the Action panel for the hotspot's Hotspot Properties pop-up.
User avatar
Imari
VIP
 
Posts: 872
Joined: Fri Jun 20, 2003 4:49 pm
Location: Virginia, USA

#2 Question

Postby GORDON » Sat May 26, 2007 1:34 am

The problem with disabling the hotspot is: You can't close the frame image anytime someone uses the magnifier on the item.
GORDON
Advanced Member
 
Posts: 154
Joined: Mon Apr 30, 2007 1:36 am
Location: Canada

Postby ShadowHunter » Tue May 29, 2007 5:23 pm

Hi,

The question is simple: use a variable.

1. The variable contains the name of the frame to go to, give the value (frame name) when you pick the item. Use goto frame action with this value
2. The variable is 1 if the item can be added and you make it 0 once the items is picked up so duplicating is not possible.

Use a global variable they are saved with the game.

Just give it a try :D

With best regards,

ShAdOwHuNtEr
User avatar
ShadowHunter
Forum Admin and Games Page admin
 
Posts: 1304
Joined: Fri Jun 06, 2003 10:37 pm
Location: Belgium


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron