timer in turns

Farvardin
Is it possible to create a timer that count in turns / player's moves instead of in seconds ?

(it doesn't seem so)

paul_one
Just have it so that after every move you add one to a variable...
:? I would have thought you'd figure that out!
_________________
Computer Whizz
==Insert Sig Here!==

Currently Listening To :
NO SONG
Using Winamp.

Farvardin
hmmmm, that's not really practical to set up... is it ?

something like

define timer <Explode>
turn.interval <10>
disabled
end define

would be more efficient

kewldude606
In the QDK, under game porperties, there is a field you can edit for code that goes off every turn...

I think Im Dead
before turn and after turn scripts suckas!

paul_one
They're good for certain instances....

Like the battle system I'm surrently on - checking the room properties, making sure the players moved between a room before changing the encounter variable.
It'd also be good for other counters, and probably for some other stuff too...
_________________
Computer Whizz
==Insert Sig Here!==

Currently Listening To :
Dido - White Flag
Using Winamp.

codingmasters
Just use a status variable.
I'll give you an example:

Create a status variable called countturn. Make it's initial value 0, and leave all the other fields blank.

Then go to Game Properties. In the scripts section, under After Every Turn Script:, make a script that increments the countturn variable by one. Easy!

Matthew G.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums