Platform SDK: Agent

VisibilityCause Property

Description
Returns an integer value that specifies what caused the character's visible state.
Syntax
agent.Characters("CharacterID").VisibilityCause
Value Description
0 The character has not been shown.
1 User hid the character using the command on the character's taskbar icon pop-up menu or using speech input..
2 The user showed the character.
3 Your application hid the character.
4 Your application showed the character.
5 Another client application hid the character.
6 Another client application showed the character.
7 The user hid the character using the command on the character's pop-up menu.

Remarks

You can use this property to determine what caused the character to move when more than one application is sharing (has loaded) the same character. These values are the same as those returned by the Show and Hide events.

See Also

Hide event, Show event, Hide method, Show method