|
Arma Reforger Script API
|
Public Member Functions | |
| void | SCR_AIIdleBehavior_Driver (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, notnull IEntity vehicleEntity) |
| override void | OnFail () |
| void | OnVehicleApproaching () |
| override float | CustomEvaluate () |
Public Member Functions inherited from SCR_AIIdleBehavior | |
| void | SCR_AIIdleBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity) |
| override void | OnActionSelected () |
| override int | GetCause () |
| Returns cause value, used for SCR_AISetting. | |
Public Member Functions inherited from SCR_AIBehaviorBase | |
| void | SCR_AIBehaviorBase (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity) |
| SCR_AIActivityBase | GetGroupActivityContext () |
| override void | OnActionFailed () |
| override void | OnActionCompleted () |
Public Member Functions inherited from SCR_AIActionBase | |
| override float | EvaluatePriorityLevel () |
| void | SetPriorityLevel (int priority) |
| EAIActionFailReason | GetFailReason () |
| void | SetFailReason (EAIActionFailReason failReason) |
| Fail reason is an optional value which can be used to figure out why action failed. | |
| override void | OnSetActionState (EAIActionState state) |
| override void | OnSetSuspended (bool suspended) |
| override void | OnComplete () |
| override void | OnActionRemoved () |
| string | GetActionDebugInfo () |
| string | GetDebugPanelText () |
| override void | OnActionDeselected () |
| void | OnActionExecuted () |
| bool | IsActionInterruptable () |
| void | SetActionInterruptable (bool IsInterruptable) |
| void | SetParametersToBTVariables (SCR_AIActionTask node) |
| void | GetParametersFromBTVariables (SCR_AIActionTask node) |
| TStringArray | GetPortNames () |
| float | GetRestrictedPriorityLevel (float minimumLevel=PRIORITY_LEVEL_NORMAL) |
| Limits priority level for actions such that those are performed in "NORMAL" and "PLAYER" priority level but not in "GAMEMASTER". | |
Public Member Functions inherited from AIActionBase | |
| proto external float | Evaluate () |
| proto external float | GetPriority () |
| proto external void | SetPriority (float priority) |
| proto external bool | GetActionIsSuspended () |
| proto external void | SetActionIsSuspended (bool val) |
| proto external bool | GetIsUniqueInActionQueue () |
| proto external void | SetIsUniqueInActionQueue (bool unique) |
| proto external EAIActionState | GetActionState () |
| proto external void | SetActionState (EAIActionState state) |
| proto external void | Fail () |
| proto external void | Complete () |
| proto external bool | GetRemoveAction () |
| proto external void | SetRemoveAction (bool val) |
| proto external AIActionBase | GetRelatedGroupActivity () |
| proto external void | SetRelatedGroupActivity (AIActionBase related) |
| bool | OnMessage (AIMessage msg) |
Protected Member Functions | |
| void | EvaluateLightsUsage () |
| 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 | |
| SCR_AIInfoComponent | m_Info |
| IEntity | m_Vehicle |
| BaseLightManagerComponent | m_VehicleLightManager |
| float | m_fNextLightsCheck |
| float | m_fHiBeamIgnoreTime |
Protected Attributes inherited from SCR_AIActionBase | |
| ref SCR_BTParam< float > | m_fPriorityLevel = new SCR_BTParam<float>(SCR_AIActionTask.PRIORITY_LEVEL_PORT) |
| EAIActionFailReason | m_eFailReason |
Static 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 |
| void SCR_AIIdleBehavior_Driver.SCR_AIIdleBehavior_Driver | ( | SCR_AIUtilityComponent | utility, |
| SCR_AIActivityBase | groupActivity, | ||
| notnull IEntity | vehicleEntity ) |
| override float SCR_AIIdleBehavior_Driver.CustomEvaluate | ( | ) |
Implements AIActionBase.
|
protected |
|
protected |
|
protected |
|
protected |
| override void SCR_AIIdleBehavior_Driver.OnFail | ( | ) |
Implements SCR_AIActionBase.
| void SCR_AIIdleBehavior_Driver.OnVehicleApproaching | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |