problems witch the doors

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

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

problems witch the doors

Postby insaneproject » Thu May 17, 2012 8:50 pm

My problem is this:

to open the rooms of a psychiatric need a key to every door but when I get any door that I get back habri closed

all doors are locked after using his for a video accompanied by a door opening or closing

as I can do to make after opening the door with his key to return to the same place, the door is open ?? without having to create multiple frames with different routes

can someone explain this please?
perhaps you need to VB scrip? if so what would be the sitaxis?
Image
HERE MY WEBSITE AND MY GAMES! CLICK HERE:http://magva-productions.es.tl/
User avatar
insaneproject
Advanced Member
 
Posts: 193
Joined: Mon Apr 16, 2012 9:54 am
Location: SPAIN

Postby reneuend » Thu May 17, 2012 11:52 pm

Did you look at the tutorial that came with Adventure Maker on turning a light on and off? Its the same concept if you only want to set a door to locked or unlocked. You need a variable for each door. The variable will tell Adventure Maker whether the key has unlocked the door and if you would like you can also add setting it to open or closed (but then you need VBScript).

door1 = 0 'door is locked
door1 = 1 'door is unlocked and closed
door1 = 2 'door is open

door2 = 0 'door is locked
door2 = 1 'door is unlocked and closed
door2 = 2 'door is open

How well do you understand spoken english? I can build a youtube video and explain it.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby insaneproject » Fri May 18, 2012 12:49 am

my English is limited but a video would help me understand it better thanks a lot
Image
HERE MY WEBSITE AND MY GAMES! CLICK HERE:http://magva-productions.es.tl/
User avatar
insaneproject
Advanced Member
 
Posts: 193
Joined: Mon Apr 16, 2012 9:54 am
Location: SPAIN

Postby reneuend » Fri May 18, 2012 1:23 am

I'll try to talk slowly and distinctly! :)
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby insaneproject » Fri May 18, 2012 1:28 am

I understood the concept and I've tried but it fails, as there is a component that is "black key" and open the door for this have to crawl to the hotspot then you describe this technique does not help me or you?
Image
HERE MY WEBSITE AND MY GAMES! CLICK HERE:http://magva-productions.es.tl/
User avatar
insaneproject
Advanced Member
 
Posts: 193
Joined: Mon Apr 16, 2012 9:54 am
Location: SPAIN

Postby reneuend » Fri May 18, 2012 6:52 am

Here is the post for the video tutorial. I hope it helps!
[url]
http://www.adventuremaker.com/phpBB2/vi ... php?t=6435[/url]
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby insaneproject » Fri May 18, 2012 12:32 pm

I really need an order saying that

if "key1" has been used, open door and go to the next frame "video door1"

you understand me?
indeed once opened each door has a video of the door opening which in turn takes you to the sequence so that room and all bedrooms

is this possible?
Image
HERE MY WEBSITE AND MY GAMES! CLICK HERE:http://magva-productions.es.tl/
User avatar
insaneproject
Advanced Member
 
Posts: 193
Joined: Mon Apr 16, 2012 9:54 am
Location: SPAIN

Postby reneuend » Fri May 18, 2012 1:21 pm

so, if Key1 is used, set Key1 = 1. You don't even need to use vbscript to do this. You can use the variables tab.

what you are trying to do is exactly what the included tutorial with Adventure Maker shows you how to do. when the user clicks on the door hotspot, just use the variable tab to check if key1 = 1. If it is, go to the video frame. You would set key1=1 with the inventory drag and drop event - again. you can use the variable tab to set ke1=1. There is no scripting needed for what you are wanting to do.

I would strongly suggest going through the tutorial that comes with Adventure Maker.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby insaneproject » Fri May 18, 2012 8:12 pm

and understood everything ok but when you use the key is gone from the inventory then my question is how I can do to make when he returns to that frame where the door is not necessary to use the key (since this key and discarded inventory ) and can come directly back into the room

maybe need to duplicate many frames for this to take effect? is that it would be a very intense and would weigh a lot project

example:
resident evil the player arrives at a door but it needs a key player carries the key to the door and it opens and the key is removed from inventory. After a while you need to re-enter this room because here's a puzzle to solve and to play at the hotspot, the door opens, and opened it before. you understand me?
Image
HERE MY WEBSITE AND MY GAMES! CLICK HERE:http://magva-productions.es.tl/
User avatar
insaneproject
Advanced Member
 
Posts: 193
Joined: Mon Apr 16, 2012 9:54 am
Location: SPAIN

Postby reneuend » Fri May 18, 2012 11:53 pm

you must be setting the option to remove the key from the inventory. Turn that option off. see image.
Attachments
remove_from_inventory.jpg
inventory item dragged to hotspot - option to remove item from inventory
remove_from_inventory.jpg (37.2 KiB) Viewed 3698 times
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby insaneproject » Sat May 19, 2012 9:09 am

thank you so mach renuend your help has helped me a lot, this will make my game is truly spectacular!

thank you very much!!!!!

(I want to thank you all for your unconditional support and for enduring all my post, that you are safe and very visible issues, sorry for the inconvenience,
are all great and very very patient and kind to me)
Image
HERE MY WEBSITE AND MY GAMES! CLICK HERE:http://magva-productions.es.tl/
User avatar
insaneproject
Advanced Member
 
Posts: 193
Joined: Mon Apr 16, 2012 9:54 am
Location: SPAIN

Postby reneuend » Tue May 22, 2012 2:30 am

No problem! I'm glad you have it working! :wink:
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests