Make the same thing happen for every turn?

Brian123
18 Jan 2015, 06:10
Hi.
I'm new to Quest and would like a varable to decrease on every turn until the value of the variable is zero and stays at zero.
One reason for this is making a machine active for x number of turns so while the variable has a value greater 0 then the machine is running (active).

How can this be done in Quest?


Brian123

The Pixie
18 Jan 2015, 08:52
Set up a turn script.

Got to the gasme object, then the Script tabe, there are at the bottom. Click Add, give it a name, and set it to be enabled from the start, add any script you wat to it.