Game Development Community

Repeating Event

by Richard_H · in Torque Game Engine · 11/05/2006 (1:52 pm) · 1 replies

Hi,

I have a function for each AIPlayer which has to be repeated 10 times a second and I decided C++ would be a faster implementation than TorqueScript. Unfortunetly I have limited knoledge of C++ so I need some help. All the function will do is incrimate several member variables for each AIPlayer. I need this to run once I call it and keep running until I tell it to stop. This also needs to run in the background. Does anyone know the best way to do this?