Hide/remove hotspot

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

Hide/remove hotspot

Postby Talietje » Tue Dec 16, 2008 3:00 pm

How can i hide/remove a hotspot when i drop an item on a hotspot.
Talietje
New Member
 
Posts: 4
Joined: Tue Dec 16, 2008 2:57 pm

Postby mercedes » Tue Dec 16, 2008 3:54 pm

Hi there..Welcome to the forums..:D

If you check the "Help" link..in AM while its open...u can find alot of info in there...just letting u know...As for what u want..Its in the same dialogue box..[Hotspots properties]..Under the second tab..u should find.."disable hotspot permantely.."

I hope that's what u are looking for..if not post back..:)


If u have the full edition..it can be done with coding as well..

Code: Select all
Hotspot(Number_of_Hotspot_goes_here).enabled = False


Or if you want it to be hide/show a hotspot after dropping an item..then u can use the variable tab..Is what i think u want..took me a minute there to register..lol..

In the hotspots properties of the item..[after dragging it] under the Variable tab..
--Create a variable named "Item_name" Where it has the 1..hit ok then ok again..
Then go to the hotspot u want to show/hide and in the variable tab there..Go to where it has the 0..select your variable u created..hit ok.




Peace
Last edited by mercedes on Tue Dec 16, 2008 4:19 pm, edited 3 times in total.
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Lyberodoggy » Tue Dec 16, 2008 4:05 pm

It should be in the help file, If you look for it, you 'll find it. Just create an integer variable, on the drag n drop item on hotspot window select under the tab named Variables: change the value of this variable to 1 and add your variable

Go to your hotspot you want to hide after using the item
Make it visible only if your variable=0
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby Talietje » Tue Dec 16, 2008 4:37 pm

Ok tnx :D
And can i also hide a hotspot of an other frame .

bv.
i click hotspot 1 on frame 4. action: hide hotspot 2 on frame 2
Talietje
New Member
 
Posts: 4
Joined: Tue Dec 16, 2008 2:57 pm

Postby mercedes » Tue Dec 16, 2008 4:42 pm

Hi there

Yes variables are recognized for all hotspots..through out your project..:)

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

Postby Talietje » Tue Dec 16, 2008 5:01 pm

That with the variables doesn't work by me.
I use the code that you me first gived.
But how is it then for hide a hotspot from an other frame?

bv.
i click hotspot 1 on frame 4. action: hide hotspot 2 on frame 2
Talietje
New Member
 
Posts: 4
Joined: Tue Dec 16, 2008 2:57 pm

Postby mercedes » Tue Dec 16, 2008 5:09 pm

If you use the variable tab..In frame 4 for hotspot(1) and u create a variable there..where it says 1..

Then go to Frame 2 ..choose the variable u created under where it says 1 in the bottom portion of the variable tab..... and in the Advanced TAB...put the code i give u up there..

That will disable the hotspot as soon as they click it..but only if that variable has become 1

Pretty sure that should do it..hard for me to test as i don't have it in front of me...try that..see if it works..

Are u wanting them to click hotspot(2) or no..only disable it from frame 4?

Peace..
Last edited by mercedes on Tue Dec 16, 2008 5:16 pm, edited 1 time in total.
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Candle » Tue Dec 16, 2008 5:10 pm

Hi Talietje , welcome to the forums
Please read the help file you will find a lot of help there.
http://www.adventuremaker.com/help/puzzles.htm
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby Talietje » Tue Dec 16, 2008 5:36 pm

mercedes wrote:If you use the variable tab..In frame 4 for hotspot(1) and u create a variable there..where it says 1..

Then go to Frame 2 ..choose the variable u created under where it says 1 in the bottom portion of the variable tab..... and in the Advanced TAB...put the code i give u up there..

That will disable the hotspot as soon as they click it..but only if that variable has become 1

Pretty sure that should do it..hard for me to test as i don't have it in front of me...try that..see if it works..

Are u wanting them to click hotspot(2) or no..only disable it from frame 4?

Peace..


Thanx!
It works now :D
Last edited by Talietje on Tue Dec 16, 2008 10:55 pm, edited 1 time in total.
Talietje
New Member
 
Posts: 4
Joined: Tue Dec 16, 2008 2:57 pm

Postby chickens1127 » Tue Dec 16, 2008 10:20 pm

Welcome! :D

Cheez... I have been so stuffed up finishing the mag and setting up the e-radio I haven't focused on other stuff...
Hi... It's Chickens1127...
CHINCHILLAS ROCK!

RIP Crazygamemaker
User avatar
chickens1127
AM Magazine Moderator
 
Posts: 898
Joined: Thu Nov 22, 2007 12:49 am
Location: Awsomeville, USA

Postby mercedes » Wed Dec 17, 2008 10:59 am

Glad I could help...:D

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


Return to Adventure Maker General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron