(Formerly part of SetCharacterProperty, which is now obsolete)
bool Character.TurnBeforeWalking
Gets/sets whether the character turns to face his new direction before walking. This
is equivalent (though opposite) to the editor "Do not turn before walking" tick-box.
If you set this to 1, the character will turn on the spot to face his new direction
before setting off on a walk. If you set this to 0, the character will instantly face
in the correct direction and start walking.
Example:
cEgo.TurnBeforeWalking = 1;
will tell EGO to turn to face his new direction before setting off, whenever he walks.
|