Ask the Player a Question, Set a Timer

roba4ever
09 Jan 2007, 16:38
OK im creating a quest game, but i need to know 2 things, (ive read the help but it confused me :? ) 1. how do i ask the player a question and if they answer yes move them to the next room
2) how do u set a timer like on 15 seconds then if they dont get to the next room in that time to make them lose?

Sorry to ask probebly easy questions but im new to quest :shock:

roba4ever
09 Jan 2007, 19:51
hey dont worry bout the first question i found it out but i dont get how to do a countdown timer :P

Arbutus
09 Jan 2007, 20:03
A countdown or up timer works the same. They start, go for an interval of seconds and then run a script. What do you want to trigger the timer? In this example, the timer starts as soon as the player enters a room.

You first need to create the timer - Game, Timers, Add, give it a descriptive name so you know what it's for (I used "Move It Or Lose It"), set the interval to 15, Script to execute when timer fires, Edit, Game Control, Finish the game by making the player lose, OK, OK, OK...

Now you just need to setup the timer trigger - click on the room where this timer will activate, go to Advanced Properties, Advanced Script Commands, When the player enters the room, Edit, Timers, Turn on a Timer, select your Timer name from the dropdown list, OK.

Now when a player enters the room, the timer will start counting down. The timer knows what to do when the time is up.

roba4ever
09 Jan 2007, 20:24
Thanks for the help :D
I will do that straight away

thanks again

roba4ever
09 Jan 2007, 21:00
gotta problem, Where is "advanced properties" maybe its just me ill look again....

roba4ever
09 Jan 2007, 21:03
No problem i found it lol
It was actually on room properties
i couldnt see a thing saying advanced :p
Still i done it so as a detective would say

CASE CLOSED
lol

Arbutus
10 Jan 2007, 07:31
Sorry about that; I'm using the new beta version and it's a bit different. Glad you found it anyway!