The API gives you two methods to have a function called periodically:
Calling USetUpdate (int period) in your object sets up a timer that calls the virtual UObject method update () with the specified period (in milliseconds)
Calling USetTimer passing the period in milliseconds and a pointer to a method in your UObject will call this method at the specified period.