Timer


#1

Is there a way to place aa timer on a certain choice, as well as have a certain variable to help that choice succede, because in my football game I would like to make it more real, and a timer would help that, siince on the field you have to think fast, question as well, would that be a good addition? Or no?


#2

Yes, it could, but only through use of Javascript - so it’s inadvisable.
I can’t really see it being a favourable mechanic though, with these sorts of games I think forcing urgency is a bad thing, they’re - as an unspoken rule - generally more laid back than your typical video games. There might be one or two applications where it’d be nice, but for the most part, I think I’d vote against it.


#3

You could just declare an integer and use it as a countdown by lowering it with every choice or page_break that the player goes through.


#4

@Rhodes
What he’s asking for a counter that counts down while your reading your choices, not a clock based system where times passes every time you pick a choice.

This might not be entirely plausible in a normal game, but I could see it being used in a fast paced game (especially football). There’s really no point in putting one in if everything is the same. If your game has some random variables in it so different plays happen every time you start it up, I can see where it would be a nice addition.

Like @CJW said, you can accomplish this in Javascript, but Choice of Games generally do not market games where their files were edited (which is why no one longer uses more than one stat button) unless of course you get a licence to use their product on your own terms. I’d recommend trying a different approach, or removing the feature entirely.


#5

Well, what if he simulated the flow of time by having multiple page_breaks that repeat a portion of the previous text, with each section repeating the same choices? You could change the text of whatever sections your choices go to based on the number in the timer.

*temp Timer 5
[Player chooses a play, quarterback tosses]
*page_break
[Repeat first section]
[New section describing opposing team’s counterplay]
*choice: Whatever decision the player can take
#Option 1
*goto Option1decision
#Option 2
*goto Option2decision
#Do nothing
*page_break
Timer -1
[Repeat first section]
[Repeat second section]
[New section describing effect of counter-play on your play]
*choice: Whatever decision the player can take
#Option 1
*goto Option1decision
#Option 2
*goto Option2decision
#Do nothing

And repeat. Would that simulate the effect of a timer?


#6

@Rhodes
It would, but the problem is he wants the number to decrease while your picking your choice.

The number would slowly go down as you waited, and if it went to 0, you wouldn’t be able to make a choice for that round.

i.e.
*if time 0
*goto nochoice