Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIIdleBehavior_Driver Class Reference
Inheritance diagram for SCR_AIIdleBehavior_Driver:
SCR_AIIdleBehavior

Protected Member Functions

void SCR_AIIdleBehavior_Driver (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, notnull IEntity vehicleEntity)
override void OnFail ()
void OnVehicleApproaching ()
void EvaluateLightsUsage ()
override float CustomEvaluate ()
bool ShouldUseHiBeamLights (float worldTime)
bool ShouldUseLights (float worldTime)
bool IsLightInteractionAllowed ()
bool GetHiBeamLightsState ()
bool GetLightsState ()
void SetHiBeamLightState (bool enable)
void SetLightsState (bool enableLights, bool enableHiBeamLights=false)

Protected Attributes

const int LIGHTS_CHECK_INTERVAL_MS = 2*1000
const int UNSAFE_LIGHTS_LOCK_DURATION_MS = 5 * 60 * 1000
const float MIN_HIBEAM_LIGHTS_VEHICLE_SPEED_MPS_SQ = 4
const int VEHICLE_DANGER_HIBEAM_LIGHTS_TIMEOUT_MS = 5*1000
SCR_AIInfoComponent m_Info
IEntity m_Vehicle
BaseLightManagerComponent m_VehicleLightManager
float m_fNextLightsCheck
float m_fHiBeamIgnoreTime

Detailed Description

Definition at line 1 of file SCR_AIIdleBehavior_Driver.c.

Constructor & Destructor Documentation

◆ SCR_AIIdleBehavior_Driver()

void SCR_AIIdleBehavior_Driver::SCR_AIIdleBehavior_Driver ( SCR_AIUtilityComponent utility,
SCR_AIActivityBase groupActivity,
notnull IEntity vehicleEntity )
inlineprotected

Definition at line 18 of file SCR_AIIdleBehavior_Driver.c.

Member Function Documentation

◆ CustomEvaluate()

override float SCR_AIIdleBehavior_Driver::CustomEvaluate ( )
inlineprotected

Definition at line 80 of file SCR_AIIdleBehavior_Driver.c.

◆ EvaluateLightsUsage()

void SCR_AIIdleBehavior_Driver::EvaluateLightsUsage ( )
inlineprotected

Definition at line 54 of file SCR_AIIdleBehavior_Driver.c.

◆ GetHiBeamLightsState()

bool SCR_AIIdleBehavior_Driver::GetHiBeamLightsState ( )
inlineprotected

Definition at line 135 of file SCR_AIIdleBehavior_Driver.c.

◆ GetLightsState()

bool SCR_AIIdleBehavior_Driver::GetLightsState ( )
inlineprotected

Definition at line 144 of file SCR_AIIdleBehavior_Driver.c.

◆ IsLightInteractionAllowed()

bool SCR_AIIdleBehavior_Driver::IsLightInteractionAllowed ( )
inlineprotected

Definition at line 122 of file SCR_AIIdleBehavior_Driver.c.

◆ OnFail()

override void SCR_AIIdleBehavior_Driver::OnFail ( )
inlineprotected

Definition at line 33 of file SCR_AIIdleBehavior_Driver.c.

◆ OnVehicleApproaching()

void SCR_AIIdleBehavior_Driver::OnVehicleApproaching ( )
inlineprotected

Definition at line 44 of file SCR_AIIdleBehavior_Driver.c.

◆ SetHiBeamLightState()

void SCR_AIIdleBehavior_Driver::SetHiBeamLightState ( bool enable)
inlineprotected

Definition at line 153 of file SCR_AIIdleBehavior_Driver.c.

◆ SetLightsState()

void SCR_AIIdleBehavior_Driver::SetLightsState ( bool enableLights,
bool enableHiBeamLights = false )
inlineprotected

Definition at line 162 of file SCR_AIIdleBehavior_Driver.c.

◆ ShouldUseHiBeamLights()

bool SCR_AIIdleBehavior_Driver::ShouldUseHiBeamLights ( float worldTime)
inlineprotected

Definition at line 93 of file SCR_AIIdleBehavior_Driver.c.

◆ ShouldUseLights()

bool SCR_AIIdleBehavior_Driver::ShouldUseLights ( float worldTime)
inlineprotected

Definition at line 106 of file SCR_AIIdleBehavior_Driver.c.

Member Data Documentation

◆ LIGHTS_CHECK_INTERVAL_MS

const int SCR_AIIdleBehavior_Driver::LIGHTS_CHECK_INTERVAL_MS = 2*1000
protected

Definition at line 3 of file SCR_AIIdleBehavior_Driver.c.

◆ m_fHiBeamIgnoreTime

float SCR_AIIdleBehavior_Driver::m_fHiBeamIgnoreTime
protected

Definition at line 16 of file SCR_AIIdleBehavior_Driver.c.

◆ m_fNextLightsCheck

float SCR_AIIdleBehavior_Driver::m_fNextLightsCheck
protected

Definition at line 14 of file SCR_AIIdleBehavior_Driver.c.

◆ m_Info

SCR_AIInfoComponent SCR_AIIdleBehavior_Driver::m_Info
protected

Definition at line 10 of file SCR_AIIdleBehavior_Driver.c.

◆ m_Vehicle

IEntity SCR_AIIdleBehavior_Driver::m_Vehicle
protected

Definition at line 11 of file SCR_AIIdleBehavior_Driver.c.

◆ m_VehicleLightManager

BaseLightManagerComponent SCR_AIIdleBehavior_Driver::m_VehicleLightManager
protected

Definition at line 12 of file SCR_AIIdleBehavior_Driver.c.

◆ MIN_HIBEAM_LIGHTS_VEHICLE_SPEED_MPS_SQ

const float SCR_AIIdleBehavior_Driver::MIN_HIBEAM_LIGHTS_VEHICLE_SPEED_MPS_SQ = 4
protected

Definition at line 6 of file SCR_AIIdleBehavior_Driver.c.

◆ UNSAFE_LIGHTS_LOCK_DURATION_MS

const int SCR_AIIdleBehavior_Driver::UNSAFE_LIGHTS_LOCK_DURATION_MS = 5 * 60 * 1000
protected

Definition at line 4 of file SCR_AIIdleBehavior_Driver.c.

◆ VEHICLE_DANGER_HIBEAM_LIGHTS_TIMEOUT_MS

const int SCR_AIIdleBehavior_Driver::VEHICLE_DANGER_HIBEAM_LIGHTS_TIMEOUT_MS = 5*1000
protected

Definition at line 8 of file SCR_AIIdleBehavior_Driver.c.


The documentation for this class was generated from the following file: