Jump to content

Programming Help:StopAll Method

From Agentpedia, the Microsoft Agent encyclopedia
StopAll Method
Stops all animation requests or other specified requests for the specified character.
Introduced in version:Microsoft Agent 1.5
Removed in version: Still in use
Allowed values:Type (Optional)
Default value:N/A


Parts

Part Description
Type Optional. You can set it to "Get" (all get requests), "NonQueuedGet" (all non-queued get requests), "Move" (all move requests), "Play" (all play requests), "Speak" (all speak requests).

Examples

Inline example (VB.NET)
Genie.StopAll("Speak")
Advanced example (VB.NET)
Genie.StopAll("Play")
Genie.Play("Acknowledge")
Genie.Speak("Acknowledge- wait a minute! It didn't play!")

Remarks

If the type is not set, the server stops all animations for the character including the hiding or showing animation.