AvoidanceManagerAddAvoidObjectT Method (FuncBoolean, FuncVector3, Single, Single, UInt32) |
Runs away from a unit or object if within range.
Namespace:
ff14bot.Managers
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public static AvoidInfo AddAvoidObject<T>(
Func<bool> canRun,
Func<Vector3> leashPointProducer,
float leashRadius,
float radius,
params uint[] unitIds
)
where T : GameObject
Parameters
- canRun
- Type: SystemFuncBoolean
The 'can run' condition. - leashPointProducer
- Type: SystemFuncVector3
The leash center point selector. Unit location if null - leashRadius
- Type: SystemSingle
The max distance to run from leash. - radius
- Type: SystemSingle
The radius. - unitIds
- Type: SystemUInt32
The unit ids.
Type Parameters
- T
Return Value
Type:
AvoidInfoSee Also