SECAgentCharacterExPtr::PromptAt

Moves the character beside the window and gestures at and speaks out strText.

Defined in: ot_agent.cpp

Syntax

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

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

virtual void PromptAt(HWND hWnd, BSTR bstrText, UINT nType = NonCritical, long* lActID = NULL);

Return Value

void

Parameters

pWnd

The window at which the character should prompt at.

hWnd

The window 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 SECAgentPromptAtWndAct Act, add it to the Act list and execute it subsequently. NonCritical*/, long* lActID /*= NULL*/)