object - commandobject - unit


void CallTurnToAngle(int nAlphaAngle)

Scope: private

Parameters
nAlphaAngle - angle we have to turn to.

Return values
none

Description
This function beging turning to direction nAlphaAngle. Alpha angle values are in range 0-255 and this value is increasing clockwise.

See also
IsMoving, CallMoveToPoint, CallStopMoving