new to this stuff - please help.

scobert
05 Mar 2007, 05:19
I was wondering if there is a specific thread you guys recommend to answer simple questions such as "How do I make my South exit lockable and only accessible with a key object?" or is it ok if I just ask my questions randomly for you smart people to answer. Now I have never worked with anything like this before, have never heard of the word boolean or variable property or such so I am going to need a somewhat simplistic step by step instruction until I get the hang of things.

efgosser
05 Mar 2007, 10:44
Look here, about half way down the page Were it refers to "DOWN"

[http://www.axeuk.com/quest/developer/documentation/script-room.htm]

I am finding most of my answers in the forums, Old and New :lol: [/img]

scobert
05 Mar 2007, 14:40
That you for answering back. I looked at the site you mentioned and it looked as though if I know anything about what I was doing, it would help, but seeing as that I am a idiot trying to accomplish this, I sorta need a step by step until I get the hang of it. So while searching I found this...

For directional: Make it run script:

If:
Flag is set "Door Unlocked"

Then:
Print "You open the unlocked door and go in."
move player to room "past door(or whatever)"

Else:
run procedure "Key"


Procedure "Key" is:

If:
Player has object "Key"

Then:
Print "The key unlocks the door."
set flag "Door Unlocked" to on.

Else:
print "The door is locked!"




Thanks Jordan...it helped a lot...

...but how do you make the door lockable again...I am just not understanding this stuff.

steve the gaming guy
05 Mar 2007, 19:30
Meaning if the player has the key, you want the player to have to type "unlock door" every time he goes south? That sounds cumbersome for the player.

If you want the door to be locked based on the procedure you just referenced, you would have to have the player drop or lose the key somewhere.

scobert
05 Mar 2007, 20:59
Ok...i think that makes sense...but what if I want him to be able to lock the door behind him...i don't know how to "use" an object on a direction...

scobert
05 Mar 2007, 21:37
also...how would you make a container, like a box or a drawer, that can be locked and unlocked using a key?

witch wyzwurd
06 Mar 2007, 13:23
This is how'd I do it Scobert:

1. Create 2 Rooms
2. Create object "Key"
3. Go to Room Direction tab in first room.
4. For North direction select "Script"
4a. Make a script...
4a1. If flag "Opened_Door" on then move player to "Room 2 Name".
4a2. If flag "Opened_Door" off then msg "What? Can you walk through walls too? Ouch! You hit your head."
5. Create Player Command "open door" or equivalent.
5a. If flag "Unlocked_Door" on then msg "You open the door."
5a1. Set flag "Opened_Door" on.
5b. If flag "Unlocked_Door" off then msg "Good try, but it's locked."
6. Create player command "unlock door" or equivalent.
6a. If player has object "Key" then msg "You turn the key and unlock the door."
6a1. Set flag "Unlocked_Door" on.
7. Make a Player Command "lock door"
7a. If player has object "Key" then msg "You shut the door and lock it."
7a1. Set flag "Opened_Door" off.
7a2. Set the flag "Unlocked_Door" off.

If you want to have the player shut the door before locking it again, then just add in a player command and arrange the flags on and off properties to coincide. Your player commands will have to go under the Game Properties tab, since the commands need to be accessed in two rooms rather than just 1 of them. Also, you'll have to create script in Room 2's Direction tab so the player can't walk back when the door is closed.

scobert
06 Mar 2007, 15:04
thank you...that makes sense.

I will try it out an let you know the outcome.

scobert
07 Mar 2007, 15:13
alright. It works...

I feel a little more knowledgeable...

Now I just have to try and figure out a way to take that knowledge and apply it to something else...

This is either going to end up being one of the funnest things I have ever tried...or kill me in the process...

Cryophile
07 Mar 2007, 22:02
Personally, it took me a very long time to learn ASL properly, and it's fairly simple. Although at the time of that I was around 13 or 14, I believe.

witch wyzwurd
07 Mar 2007, 23:31
Scobert,

When I first tried ASL, I gave it a month, while kicking my head in the process. I got nowhere. It seemed too difficult. I left it alone for about 6 months.

Then I came back to it about 6 months later. I learned a liitle bit more, kicked myself in the head alot more, then left ASL alone for another 6 months.

1 year after downloading Quest, I woke up. I turned on my computer, determined to learn ASL. Sometime during the last time I left ASL alone, a little ASL bug crawled in through my ear and stuck itself onto my brain, injected it's stinger into my cerebral cortex, and gave me ASL knowledge (and everlasting peace from kicking myself in the head).

Just give it a little time and the ASL bug will find you.

Think simple and logical and start small. Don't try applying calculus if you haven't learned simple addition.

scobert
08 Mar 2007, 00:39
Thank you wyzwurd. It's nice to know someone knows how I am feeling...so overwhelmed...

What was one of the first things you learned to do, that took some time to figure out, but is simple in the long run?

witch wyzwurd
08 Mar 2007, 20:26
I've seemed to have blocked these frustrating moments out of my memory.

scobert
09 Mar 2007, 06:43
I also want to thank you S1aY3R...didn't mean to ignore you...

007bond
10 Mar 2007, 03:44

Personally, it took me a very long time to learn ASL properly, and it's fairly simple. Although at the time of that I was around 13 or 14, I believe.



Isn't it amazing how time flies!