I have to have my actors do something (throw something, create something) every 40 turns for a code that I am working on, but I am not sure how to make them act every n turns instead of every time. Any information on the subject would be appreciated.