Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIMoveFromDanger.c File Reference

Go to the source code of this file.

Classes

class  SCR_AIMoveFromDangerBehavior
class  SCR_AIMoveFromGrenadeBehavior
class  SCR_AIMoveFromVehicleHornBehavior
class  SCR_AIGetPilotMoveFromIncomingVehicleBehaviorParameters

Functions

void SCR_AIMoveFromUnsafeAreaBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector dangerPos, IEntity dangerEntity, float distance)
void SCR_AIMoveFromIncomingVehicleBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector dangerPos, IEntity dangerEntity)
override float CustomEvaluate ()
void SCR_AIPilotMoveFromIncomingVehicleBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, vector dangerPos, IEntity dangerEntity)
override void OnActionSelected ()

Variables

SCR_AIMoveFromDangerBehavior m_Distance = new SCR_BTParam<float>("Distance")
SCR_AIMoveFromGrenadeBehavior MIN_COS_ANGLE_COVER_TO_VEHICLE = -0.707
SCR_AIMoveFromVehicleHornBehavior m_vMovePos = new SCR_BTParam<vector>("MovePos")
 Special behavior for pilot when he's about to collide with another vehicle.
const float EXTRAPOLATE_POS_FORWARD_TIME_S = 0.2
const float SIDE_STEP_LEN = 8
const float SIDE_STEP_FORWARD = 12

Function Documentation

◆ CustomEvaluate()

override float CustomEvaluate ( )

Definition at line 135 of file SCR_AIMoveFromDanger.c.

◆ OnActionSelected()

override void OnActionSelected ( )
protected

Definition at line 225 of file SCR_AIMoveFromDanger.c.

◆ SCR_AIMoveFromIncomingVehicleBehavior()

void SCR_AIMoveFromIncomingVehicleBehavior ( SCR_AIUtilityComponent utility,
SCR_AIActivityBase groupActivity,
vector dangerPos,
IEntity dangerEntity )

Definition at line 125 of file SCR_AIMoveFromDanger.c.

◆ SCR_AIMoveFromUnsafeAreaBehavior()

void SCR_AIMoveFromUnsafeAreaBehavior ( SCR_AIUtilityComponent utility,
SCR_AIActivityBase groupActivity,
vector dangerPos,
IEntity dangerEntity,
float distance )

Definition at line 57 of file SCR_AIMoveFromDanger.c.

◆ SCR_AIPilotMoveFromIncomingVehicleBehavior()

void SCR_AIPilotMoveFromIncomingVehicleBehavior ( SCR_AIUtilityComponent utility,
SCR_AIActivityBase groupActivity,
vector dangerPos,
IEntity dangerEntity )
protected

Definition at line 218 of file SCR_AIMoveFromDanger.c.

Variable Documentation

◆ EXTRAPOLATE_POS_FORWARD_TIME_S

const float EXTRAPOLATE_POS_FORWARD_TIME_S = 0.2
protected

Definition at line 214 of file SCR_AIMoveFromDanger.c.

◆ m_Distance

SCR_AIMoveFromDangerBehavior m_Distance = new SCR_BTParam<float>("Distance")

◆ m_vMovePos

SCR_AIMoveFromVehicleHornBehavior m_vMovePos = new SCR_BTParam<vector>("MovePos")
protected

Special behavior for pilot when he's about to collide with another vehicle.

◆ MIN_COS_ANGLE_COVER_TO_VEHICLE

SCR_AIMoveFromGrenadeBehavior MIN_COS_ANGLE_COVER_TO_VEHICLE = -0.707

◆ SIDE_STEP_FORWARD

const float SIDE_STEP_FORWARD = 12
protected

Definition at line 216 of file SCR_AIMoveFromDanger.c.

◆ SIDE_STEP_LEN

const float SIDE_STEP_LEN = 8
protected

Definition at line 215 of file SCR_AIMoveFromDanger.c.