MoveCause Property

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

Description

Returns an integer value that specifies what caused the character's last move.

Syntax

agent.Characters("CharacterID").MoveCause

Value Description
0 The character has not been moved.
1 The user moved the character.
2 Your application moved the character.
3 Another client application moved the character.
4 The Agent server moved the character to keep it onscreen after a screen resolution change.

 

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 Move event.

See Also

Move event, MoveTo method