C4 Engine Terathon Software C4 Engine API Documentation

• Time Manager

API Links
Developer Links

Timer::SetTime

Defined in:  C4Time.h
Sets the length of time which should pass before the timer is triggered.
Prototype

void SetTime(int32 time);

Parameters
time The length of time, in milliseconds, which should pass before the timer is triggered.
Description
The SetTime function sets the length of time remaining, in milliseconds, before a timer object is triggered. If the time is zero or negative, then the timer will be triggered on the next frame.
See Also

Timer::GetTime