SECAgentCharacterExPtr::PromptAt

Moves the character beside the specified Rect and gestures at and speaks out strText.

Defined in: ot_agent.cpp

Syntax

void PromptAt(CRect& rect, const CString& strText, UINT nType = NonCritical, long* lActID = NULL);

virtual void PromptAt(CRect& rect, BSTR bstrText, UINT nType = NonCritical, long* lActID = NULL);

Return Value

void

Parameters

rect

The rect at which the character should prompt at.

strText

The text for the character to speak out.

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 call will generate a SECAgentPromptAtRectAct Act, add it to the Act list and execute it subsequently. NonCritical*/, long* lActID /*= NULL*/)