Click or drag to resize

AvoidanceManagerAddAvoidObjectT Method (FuncBoolean, FuncVector3, Single, FuncT, 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
C#
public static AvoidInfo AddAvoidObject<T>(
	Func<bool> canRun,
	Func<Vector3> leashPointProducer,
	float leashRadius,
	Func<T, float> radiusProducer,
	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.
radiusProducer
Type: SystemFuncT, Single
The distance to avoid
unitIds
Type: SystemUInt32
The unit ids.

Type Parameters

T

Return Value

Type: AvoidInfo
See Also