|
Arma Reforger Script API
|
Combat move logic for Attack Behavior of gunner. It receives BaseTarget. More...
Public Member Functions | |
| override bool | UpdateCombatMoveLogic () |
| Logic of the child class. | |
| override TStringArray | GetVariablesIn () |
Public Member Functions inherited from AITaskScripted | |
| void | OnEnter (AIAgent owner) |
| void | OnAbort (AIAgent owner, Node nodeCausingAbort) |
Public Member Functions inherited from Node | |
| proto external int | GetNodeID () |
| proto external TypeName | GetVariableType (bool inputPort, string name) |
| proto bool | GetVariableIn (string name, out void val) |
| proto void | SetVariableOut (string name, void val) |
| proto void | ClearVariable (string name) |
| proto void | GetCallstackStr (out string val) |
| proto void | GetParentTreeName (out string val) |
Protected Member Functions | |
| bool | MoveFromTargetCondition () |
| decides if we should move backwards from target | |
| bool | MoveFromTargetNewRequestCondition () |
| void | PushRequestMoveFromTarget () |
| void | PushRequestMove () |
| void | ResolveMoveRequestMovePosAndDir (vector targetPos, out vector outMovePos, out SCR_EAICombatMoveDirection outDirection) |
| bool | FFAvoidanceCondition () |
| bool | FFAvoidanceNewRequestCondition () |
| void | PushRequestFFAvoidance () |
| float | GetTargetDistance () |
| vector | ResolveRequestTargetPos () |
| float | ResolveStoppedWaitTime (EAIThreatState threat) |
| bool | MoveToNextPosCondition () |
Protected Member Functions inherited from SCR_AICombatMoveLogicVehicleGunnerBase | |
| override void | OnInit (AIAgent owner) |
| void | ApplyNewRequest (notnull SCR_AICombatMoveRequestBase rq) |
| Applies combat move request to driver's mind. | |
| override ENodeResult | EOnTaskSimulate (AIAgent owner, float dt) |
| Scripted nodes are suposed to return SUCCESS, FAIL or RUNNING state. | |
| bool | UpdateDriver (AIAgent owner) |
| bool | IsFirstExecution () |
| bool | TargetWithinTurretSafeHorizontalLimits (vector targetPos) |
| Checks if target position is within safe aiming limits of the turret. | |
Protected Member Functions inherited from AITaskScripted | |
| string | GetNodeMiddleText () |
Protected Member Functions inherited from Node | |
| TStringArray | GetVariablesOut () |
Static Protected Member Functions | |
| static float | ResolveOptimalDistance (float weaponMinDist) |
| static void | OnMovementStarted (SCR_AIUtilityComponent utility, SCR_AICombatMoveRequest_Move rq, vector pos, bool destinationIsCover) |
| Methods to make AI talk when they move or stop. | |
| static void | OnMovementCompleted (SCR_AIUtilityComponent utility, SCR_AICombatMoveRequestBase rq) |
Static Protected Member Functions inherited from Node | |
| static string | GetOnHoverDescription () |
| static bool | CanReturnRunning () |
Protected Attributes | |
| BaseTarget | m_Target |
| EAIThreatState | m_eThreatState |
| float | m_fTargetDist |
| float | m_fWeaponMinDist = WEAPON_MIN_DIST |
Protected Attributes inherited from SCR_AICombatMoveLogicVehicleGunnerBase | |
| SCR_AIUtilityComponent | m_Utility |
| SCR_AICombatComponent | m_CombatComp |
| SCR_CompartmentAccessComponent | m_CompartmentAccessComponent |
| BaseWeaponManagerComponent | m_WeaponManagerComponent |
| TurretComponent | m_TurretComponent |
| IEntity | m_MyEntity |
| Vehicle | m_MyVehicle |
| SCR_AICombatMoveState | m_DriverState |
| SCR_AIUtilityComponent | m_DriverUtility |
| float | m_fUpdateInterval_ms |
| float | m_fNextUpdate_ms |
Static Protected Attributes | |
| static const string | PORT_BASE_TARGET = "BaseTarget" |
| const float | WEAPON_MIN_DIST = 2.0 |
| const float | MIN_ENGAGEMENT_DISTANCE_TO_TARGET_SQ = 60.0 * 60.0 |
| const float | MAX_MOVE_DURATION_TO_TARGET_S = 9 |
| const float | MAX_MOVE_DURATION_TO_TARGET_THREATENED_S = 5 |
| const float | REVERSE_MOVE_DURATION_S = 1.2 |
| static ref TStringArray | s_aVarsIn |
Static Protected Attributes inherited from Node | |
| static ref TStringArray | m_aEmptyVars = {} |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_AICombatMoveLogicVehicleGunnerBase | |
| static override bool | VisibleInPalette () |
Combat move logic for Attack Behavior of gunner. It receives BaseTarget.
|
protected |
|
protected |
|
protected |
| override TStringArray SCR_AICombatMoveLogicVehicleGunner_Attack.GetVariablesIn | ( | ) |
Implements Node.
|
protected |
decides if we should move backwards from target
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
Methods to make AI talk when they move or stop.
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
| override bool SCR_AICombatMoveLogicVehicleGunner_Attack.UpdateCombatMoveLogic | ( | ) |
Logic of the child class.
Implements SCR_AICombatMoveLogicVehicleGunnerBase.
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |