Key Required Room

Neon
06 Feb 2009, 03:26
Im new to Quest and would be grateful is someone could explain how i could make it so a room requires a specific object to be in ur inventory or it wont let you in... if anyone knows please help me :D

Redsun
06 Feb 2009, 03:38
The room that needs this object/key to get in, make a if statement as the player enters the room, to check to
see if the player has an object, if the player does then let player in, otherwise boot player back to the other
room and display a message.

do you know how to make a IF statement?

Neon
06 Feb 2009, 03:48
no but ill try and figure it out :D ok i have an if statement but when i edit then or else i cant find a script to boot them

Redsun
06 Feb 2009, 03:55
If player doesn't have the object move them back to the other room.
The script is under: Game control it says: move player to another room.
You can clear screen right after you move player to, this way the player wont always see
the room description, unless you want them to always see it when there booted back.