(Formerly known as character[].animating, which is now obsolete)
readonly bool Character.Animating
Returns 1 if the character is currently animating.
Returns 0 if the character has finished its animation.
This property is read-only. To change character animation, use the
Animate command.
Example:
cEgo.Animate(5, 0);
while (cEgo.Animating) Wait(1);
will animate EGO and wait until the animation finishes.
In reality, you would simply use the Blocking parameter of Animate so you wouldn't need
to do this.
See Also: Character.Animate,
Character.Moving,
Character.Speaking
|