my insomnia drives me to more threads, where i guess there is already an answer somewhere (or it is easy to think of one).
anyways i have a function which is called every turn, however within this function i have a snipped of code that i only want to be executed every x turns. does anybody knows of a good solution for this problem?
edit: i especially do not want randomness.
anyways i have a function which is called every turn, however within this function i have a snipped of code that i only want to be executed every x turns. does anybody knows of a good solution for this problem?
edit: i especially do not want randomness.