I want to get an Input from the player (Multiple-Choice) and the player only should have 10 seconds to answer. As far as i understand, i cannot interrupt the input after 10 seconds. So i tried
1. to ask whether the counter ticked in the getInput function of die inputscreen.
2. to count the tick as a boolean-variable and use a ifelse in the getInput function of the input screen
3. lower the duration of the counter to 1 second, then increase a variable on every tick and give out the variable (it was 0 at all time)
None of this worked. Where is my failure in thinking?
Earwigo
in Wherigo
Posted
Hi,
I have a problem with the timer-section.
I want to get an Input from the player (Multiple-Choice) and the player only should have 10 seconds to answer. As far as i understand, i cannot interrupt the input after 10 seconds. So i tried
1. to ask whether the counter ticked in the getInput function of die inputscreen.
2. to count the tick as a boolean-variable and use a ifelse in the getInput function of the input screen
3. lower the duration of the counter to 1 second, then increase a variable on every tick and give out the variable (it was 0 at all time)
None of this worked. Where is my failure in thinking?
thanks a lot and sorry for my poor english.
Greetings from hamburg
Janko