MoveCause Property

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.

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

--------------------------------------------------------