ActionMoveAwayFromObject(object, int, float)
Cause the action subject to move to a certain distance away from a target.
void ActionMoveAwayFromObject( object oFleeFrom, int bRun = FALSE, float fMoveAwayRange = 40.0f );
Parameters
oFleeFrom
The object the action subject will move away from.
bRun
TRUE: the action subject will run rather than walk. (Default: FALSE)
fMoveAwayRange
The distance to put between the action subject and oFleeFrom. (Default: 40.0f)
Description
Cause the action subject to move to a certain distance away from oFleeFrom.
If oFleeFrom is not in the same area as the action subject, nothing will happen.
Version
1.61
See Also
functions: | ActionForceMoveToObject | ActionMoveAwayFromLocation | ActionMoveToObject | TalentFlee |
categories: | Core AI Functions | Movement Functions |
author: Ryan Hunt, editor: Lilac Soul