C4 Engine
C4 Engine API Documentation

DeferredTask::SetTaskFlags

Defined in:  C4Time.h
Sets the task flags.
Prototype

void SetTaskFlags(uint32 flags);

Parameters
flags The new task flags.
Description
The SetTaskFlags function sets the task flags, which can be a combination (through logical OR) of the following constants.
kTaskNonpersistent The task is nonpersistent. If this flag is set, then the task is automatically destroyed after it is triggered.
kTaskRepeating The task will be triggered repeatedly (at most once per frame). If this flag is set, then the task is not removed from the Time Manager when it is triggered.
The initial value of the task flags is 0.
See Also

DeferredTask::GetTaskFlags