Platform SDK: Agent

IAgentCharacter::StopAll

HRESULT StopAll();
   long lType,  // request type

Stops all animations (requests) and removes them from the character's animation queue.

lType
A bit field that indicates the types of requests to stop (and remove from the character's queue), comprised from the following:
const unsigned long STOP_TYPE_ALL = 0xFFFFFFFF; Stops all animation requests, including non-queued Prepare requests.
const unsigned long STOP_TYPE_PLAY = 0x00000001; Stops all Play requests.
const unsigned long STOP_TYPE_MOVE = 0x00000002; Stops all Move requests.
const unsigned long STOP_TYPE_SPEAK = 0x00000004; Stops all Speak requests.
const unsigned long STOP_TYPE_PREPARE = 0x00000008; Stops all queued Prepare requests.
const unsigned long STOP_TYPE_NONQUEUEDPREPARE = 0x00000010; Stops all non-queued Prepare requests.
const unsigned long STOP_TYPE_VISIBLE = 0x00000020; Stops all Hide or Show requests.

See Also

IAgentCharacter::Stop