SECAgentCharacterExPtr::AddAct

voidSECAgentCharacterExPtr::AddAct(SECAgentCharAct*pNewAct)

Adds the Act to the Act list and executes them one by one.

Defined in: ot_agent.cpp

Return Value

void

Parameters

pNewAct

The Act object to be executed.

Comments

When a Critical Act is added to the list, all the NonCritical Acts are automatically removed from the list. You can interrupt any Act with it's Act ID or interrupt all pending acts at a later stage with a call to InterruptAct.