ActionMoveAwayFromLocation(location, int, float)

Causes the caller to try to move away from a location

void ActionMoveAwayFromLocation(
    location locMoveAwayFrom,
    int bRun = FALSE,
    float fMoveAwayRange = 40.0f
);

Parameters

locMoveAwayFrom

Location to move away from.

bRun

TRUE to run away (Default: FALSE)

fMoveAwayRange

Desired distance. (Default: 40.0f)


Description

Causes the action subject to move away from locMoveAwayFrom.



Version

1.61

See Also

functions: ActionForceMoveToLocation | ActionMoveAwayFromObject | ActionMoveToLocation
categories: Core AI Functions | Movement Functions


 author: Ryan Hunt, editor: Lilac Soul