Arma Reforger Script API
|
Combat move logic when doing suppressive fire. More...
Public Member Functions | |
override TStringArray | GetVariablesIn () |
Protected Member Functions | |
override bool | OnUpdate (AIAgent owner, float dt) |
override float | GetTargetDistance () |
override vector | GetTargetPosition () |
override vector | ResolveRequestTargetPos () |
override bool | ResolveFailMoveIfNoCover () |
override float | ResolveStoppedWaitTime (bool inCover, EAIThreatState threat, EWeaponType weaponType) |
override bool | MoveToNextPosCondition () |
![]() | |
vector | GetAvoidStraightPathDir () |
override void | OnInit (AIAgent owner) |
override ENodeResult | EOnTaskSimulate (AIAgent owner, float dt) |
bool | FFAvoidanceCondition () |
bool | FFAvoidanceNewRequestCondition () |
void | PushRequestFFAvoidance () |
void | PushRequestMove () |
void | ResolveMoveRequestMovePosAndDir (vector targetPos, out vector outMovePos, out vector outAvoidStraightPathDir, out SCR_EAICombatMoveDirection outDirection, out float outCoverSearchSectorHalfAngleRad) |
bool | SuppressedInCoverCondition () |
void | SuppressedInCoverLogic () |
void | PushRequestChangeStanceInCover (bool exposed, SCR_EAICombatMoveReason reason, float waitTime) |
bool | CurrentCoverUselessCondition () |
void | PushRequestLeaveUselessCover () |
bool | MoveFromTargetCondition () |
bool | MoveFromTargetNewRequestCondition () |
void | PushRequestMoveFromTarget () |
bool | IsFirstExecution () |
Protected Attributes | |
SCR_AISuppressionVolumeBase | m_SuppressionVolume |
bool | m_bTargetVisible = false |
float | m_fTargetLastSeenTime_ms = 0 |
bool | m_bGoodVision |
![]() | |
SCR_AICombatMoveState | m_State |
SCR_AIUtilityComponent | m_Utility |
SCR_AICombatComponent | m_CombatComp |
IEntity | m_MyEntity |
CharacterControllerComponent | m_CharacterController |
EAIThreatState | m_eThreatState |
ECharacterStance | m_eStance |
EWeaponType | m_eWeaponType |
float | m_fTargetDist |
float | m_fWeaponMinDist |
bool | m_bCloseRangeCombat |
bool | m_bVeryLongRangeCombat |
float | m_fNextUpdate_ms |
float | m_fUpdateInterval_ms |
Static Protected Attributes | |
static const string | PORT_SUPPRESSION_VOLUME = "SuppressionVolume" |
static const string | PORT_VISIBLE = "Visible" |
static const string | PORT_TIME_LAST_SEEN = "TimeLastSeen_ms" |
static const float | TIME_SINCE_GOOD_VISIBILITY_MIN_MS = 10000.0 |
static ref TStringArray | s_aVarsIn |
![]() | |
const float | COVER_QUERY_SECTOR_ANGLE_RAD = 0.3 * Math.PI |
Additional Inherited Members | |
![]() | |
static override bool | VisibleInPalette () |
![]() | |
static void | OnMovementStarted (SCR_AIUtilityComponent utility, SCR_AICombatMoveRequest_Move rq, vector pos, bool destinationIsCover) |
static void | OnMovementCompleted (SCR_AIUtilityComponent utility, SCR_AICombatMoveRequestBase rq) |
static ECharacterStance | ResolveStanceOutsideCover (bool closeRange, EAIThreatState threat) |
static float | ResolveOptimalDistance (float weaponMinDist) |
static bool | IsAimingAndMovingAllowedForWeapon (EWeaponType weaponType) |
Combat move logic when doing suppressive fire.
|
protected |
Implements SCR_AICombatMoveLogicBase.
|
protected |
Implements SCR_AICombatMoveLogicBase.
override TStringArray SCR_AICombatMoveLogic_Suppressive.GetVariablesIn | ( | ) |
|
protected |
Implements SCR_AICombatMoveLogicBase.
|
protected |
Implements SCR_AICombatMoveLogicBase.
|
protected |
Implements SCR_AICombatMoveLogicBase.
|
protected |
Implements SCR_AICombatMoveLogicBase.
|
protected |
Implements SCR_AICombatMoveLogicBase.
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |