SECAgentCharacterExPtr::Speak

voidSECAgentCharacterExPtr::Speak(BSTRbstrText, UINTnType, long*lActID)

Speaks out the specified text.

Defined in: ot_agent.cpp

Return Value

void

Parameters

bstrText

The text for the character to speak out.

nType

Can be either Critical or NonCritical.

lActID

If not Null, returns an ID for this Act.

Comments

This will create an SECAgentSpeakAct, add it to the Act list and execute it subsequently. NonCritical*/, long* lActID /*= NULL*/)