Platform SDK: Agent |
HRESULT Hide( long bFast, // play Hiding state animation flag long * pdwReqID // address of request ID );
Hides the character.
The server queues the animation associated with the Hide method in the character's queue. This allows you to use it to hide the character after a sequence of other animations. You can play the action immediately by using the Stop method before calling the Hide method.
When using the HTTP protocol to access character and animation data, use the Prepare method to ensure the availability of the Hiding state animation before calling this method.
Hiding a character can also result in triggering the AgentNotifySink::ActivateInputState event of another visible character.
Hidden characters cannot access the audio channel. The server will pass back a failure status in the RequestComplete event if you generate an animation request and the character is hidden.