Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
AI

Data Structures

class  AIActionBase
 
class  AIAnimalClass
 
class  AIAnimalManagerReactToCloseEntitiesMovement
 
class  AIAnimalReactToDanger
 
class  AIBaseUtilityComponentClass
 
class  AIChimeraBehaviorTreeComponentClass
 
class  AICombatPropertiesComponent
 
class  AICombatPropertiesComponentClass
 
class  AIFlockClass
 
class  AIGroupMovementComponentClass
 
class  AimPoint
 
class  AITaskChangeStance
 
class  AITaskCharacterAim
 
class  AITaskCharacterRaiseWeapon
 
class  AITaskCharacterSetMovementSpeed
 
class  AITaskCharacterStop
 
class  AITaskClearDanger
 
class  AITaskCurrentOrder
 
class  AITaskFindSmartAction
 
class  AITaskFinishOrder
 
class  AITaskFire
 
class  AITaskGetCurrentSmartAction
 
class  AITaskGetInVehicle
 
class  AITaskGetOutVehicle
 
class  AITaskGetSmartActionParams
 
class  AITaskGroupSetMovementSpeed
 
class  AITaskMoveInFormation
 
class  AITaskPerformObjectAction
 
class  AITaskPerformSmartAction
 
class  AITaskPickTarget
 
class  AITaskPlayGesture
 
class  AITaskReload
 
class  AITaskSendOrder
 
class  AITaskSetADS
 
class  AITaskThrowGrenade
 
class  AIWeaponTargetSelector
 
class  ChimeraAIAgentClass
 
class  ChimeraAIControlComponentClass
 Game version of AIControlComponent. Takes care of disabling of character when in high LOD. More...
 
class  ChimeraAIGroupClass
 
class  CoverQueryComponentClass
 
class  DecoAiming
 
class  DecoCheckLOD
 
class  DecoDangerEvent
 
class  DecoIsInVehicle
 
class  DecoratorTestCanPerformSmartActions
 
class  DecoratorTestDamageIsAlive
 
class  DecoratorTestHasAmmo
 
class  DecoratorTestHasWeapon
 
class  DecoratorTestIsPerformingSmartAction
 
class  DecoratorTestIsWeaponRaised
 
class  DecoratorWeaponObstructed
 
class  DecoTestOrder
 
class  InsectFlyMovementComponentClass
 
class  MineManagerComponentClass
 
class  RoadNetworkBridgeComponentClass
 

Enumerations

enum  EAIActionState {
  EVALUATED, RUNNING, SUSPENDED, COMPLETED,
  FAILED, EVALUATED, RUNNING, SUSPENDED,
  COMPLETED, FAILED
}
 
enum  EAIActionState {
  EVALUATED, RUNNING, SUSPENDED, COMPLETED,
  FAILED, EVALUATED, RUNNING, SUSPENDED,
  COMPLETED, FAILED
}
 
enum  EAIFindSmartAction_TagTest {
  None, AllSet, AnySet, InOrder,
  None, AllSet, AnySet, InOrder
}
 
enum  EAIFindSmartAction_TagTest {
  None, AllSet, AnySet, InOrder,
  None, AllSet, AnySet, InOrder
}
 
enum  EAimPointType {
  NORMAL, WEAK, INCAPACITATE, NORMAL,
  WEAK, INCAPACITATE
}
 
enum  EAimPointType {
  NORMAL, WEAK, INCAPACITATE, NORMAL,
  WEAK, INCAPACITATE
}
 
enum  EAIUnitType {
  UnitType_Infantry, UnitType_VehicleUnarmored, UnitType_VehicleMedium, UnitType_VehicleHeavy,
  UnitType_Aircraft, UnitType_Fortification, UnitType_Count, UnitType_Infantry,
  UnitType_VehicleUnarmored, UnitType_VehicleMedium, UnitType_VehicleHeavy, UnitType_Aircraft,
  UnitType_Fortification, UnitType_Count
}
 
enum  EAIUnitType {
  UnitType_Infantry, UnitType_VehicleUnarmored, UnitType_VehicleMedium, UnitType_VehicleHeavy,
  UnitType_Aircraft, UnitType_Fortification, UnitType_Count, UnitType_Infantry,
  UnitType_VehicleUnarmored, UnitType_VehicleMedium, UnitType_VehicleHeavy, UnitType_Aircraft,
  UnitType_Fortification, UnitType_Count
}
 
enum  ECoverSearchState {
  FAIL, SUCCESS, RUNNING, FAIL,
  SUCCESS, RUNNING
}
 
enum  ECoverSearchState {
  FAIL, SUCCESS, RUNNING, FAIL,
  SUCCESS, RUNNING
}
 

Functions

AIAnimalClass AIAgentClass GetSoundMapTag ()
 
proto external bool CallReactToDanger ()
 
proto external bool ManualActivation ()
 
event void OnReactToDanger ()
 
AIBaseUtilityComponentClass AIComponentClass EvaluateActions ()
 Evaluate all actions and return the highest evaluated action which is not suspended. Returns nullptr if none found. More...
 
proto external void AddAction (AIActionBase action)
 Adds an action. More...
 
proto external bool RemoveObsoleteActions ()
 Removes actions which are failed or completed. More...
 
proto external void SetStateAllActionsOfType (typename actionType, EAIActionState actionState, bool includeInherited=false)
 Iterates through the actions changing the state of those of the type or that inherit from it. More...
 
proto external bool HasActionOfType (typename actionType)
 Returns true when there is an action of exactly this type. More...
 
proto external AIActionBase FindActionOfType (typename actionType)
 Finds action of exactly this type. More...
 
proto external AIActionBase FindActionOfInheritedType (typename actionType)
 Finds action of provided type or a type inherited from it. More...
 
proto external void FindActionsOfType (typename actionType, notnull array< ref AIActionBase > outActions)
 
proto external void FindActionsOfInheritedType (typename actionType, notnull array< ref AIActionBase > outActions)
 
proto external void SetStateOfRelatedAction (AIActionBase relatedAction, EAIActionState state)
 
proto external bool CallActionsOnMessage (AIMessage msg)
 
proto external void GetActions (notnull array< ref AIActionBase > outActions)
 
proto external ref AIActionBase GetCurrentAction ()
 
proto external void SetCurrentAction (AIActionBase executed)
 
proto external ref AIActionBase GetExecutedAction ()
 
proto external void SetExecutedAction (AIActionBase executed)
 
proto external AIAgent GetOwner ()
 Owner entity of the fuel tank. More...
 
event void EOnInit (IEntity owner)
 Initialise this component with data from FactionsManager. More...
 
event void OnPostInit (IEntity owner)
 Editable Mine. More...
 
event void EOnDeactivate (IEntity owner)
 
event void EOnDiag (IEntity owner, float timeSlice)
 
event void EOnActivate (IEntity owner)
 
AIChimeraBehaviorTreeComponentClass AIBehaviorTreeComponentClass GetSimulateCounter ()
 
AIFlockClass AIAnimalClass ActivateAllBirds (bool val)
 
proto external vector CreateRandomBirdTarget (int i)
 
proto external vector CreateRandomBirdCenter ()
 
event void OnTakeOff ()
 
event void OnFlying ()
 
event void OnLanding ()
 
event void OnFinishedLanding ()
 
AIGroupMovementComponentClass AIBaseMovementComponentClass SetGroupCharactersWantedMovementType (EMovementType movementWanted)
 
proto external EMovementType GetGroupCharactersMovementTypeWanted ()
 
CoverQueryComponentClass ScriptComponentClass GetBestCover (string NavmeshWorld, CoverQueryProperties QueryParams, out vector outCoverPos, out vector outCoverTallestPos, out int outTileX, out int outTileY, out int outCoverId)
 
InsectFlyMovementComponentClass AIComponentEntityClass SetOriginPosition (vector position)
 
proto external vector GetOriginPosition ()
 
MineManagerComponentClass GenericComponentClass Register (notnull IEntity mine, IEntity mineSpawner)
 Registers the given mine entity. The mine spawner will add it's awareness to it's faction of this mine. More...
 
proto external void Remove (notnull IEntity mine)
 Removes the given mine entity. More...
 
proto external void AddFactionAwareness (notnull IEntity mine, notnull IEntity awarenessAdder)
 Update a mine's information awareness. More...
 

Detailed Description

Enumeration Type Documentation

◆ EAIActionState [1/2]

Enumerator
EVALUATED 
RUNNING 
SUSPENDED 
COMPLETED 
FAILED 
EVALUATED 
RUNNING 
SUSPENDED 
COMPLETED 
FAILED 

Definition at line 12 of file EAIActionState.c.

◆ EAIActionState [2/2]

Enumerator
EVALUATED 
RUNNING 
SUSPENDED 
COMPLETED 
FAILED 
EVALUATED 
RUNNING 
SUSPENDED 
COMPLETED 
FAILED 

Definition at line 12 of file EAIActionState.c.

◆ EAIFindSmartAction_TagTest [1/2]

Enumerator
None 
AllSet 
AnySet 
InOrder 
None 
AllSet 
AnySet 
InOrder 

Definition at line 12 of file EAIFindSmartAction_TagTest.c.

◆ EAIFindSmartAction_TagTest [2/2]

Enumerator
None 
AllSet 
AnySet 
InOrder 
None 
AllSet 
AnySet 
InOrder 

Definition at line 12 of file EAIFindSmartAction_TagTest.c.

◆ EAimPointType [1/2]

Enumerator
NORMAL 
WEAK 
INCAPACITATE 
NORMAL 
WEAK 
INCAPACITATE 

Definition at line 12 of file EAimPointType.c.

◆ EAimPointType [2/2]

Enumerator
NORMAL 
WEAK 
INCAPACITATE 
NORMAL 
WEAK 
INCAPACITATE 

Definition at line 12 of file EAimPointType.c.

◆ EAIUnitType [1/2]

Enumerator
UnitType_Infantry 
UnitType_VehicleUnarmored 
UnitType_VehicleMedium 
UnitType_VehicleHeavy 
UnitType_Aircraft 
UnitType_Fortification 
UnitType_Count 
UnitType_Infantry 
UnitType_VehicleUnarmored 
UnitType_VehicleMedium 
UnitType_VehicleHeavy 
UnitType_Aircraft 
UnitType_Fortification 
UnitType_Count 

Definition at line 12 of file EAIUnitType.c.

◆ EAIUnitType [2/2]

Enumerator
UnitType_Infantry 
UnitType_VehicleUnarmored 
UnitType_VehicleMedium 
UnitType_VehicleHeavy 
UnitType_Aircraft 
UnitType_Fortification 
UnitType_Count 
UnitType_Infantry 
UnitType_VehicleUnarmored 
UnitType_VehicleMedium 
UnitType_VehicleHeavy 
UnitType_Aircraft 
UnitType_Fortification 
UnitType_Count 

Definition at line 12 of file EAIUnitType.c.

◆ ECoverSearchState [1/2]

Enumerator
FAIL 
SUCCESS 
RUNNING 
FAIL 
SUCCESS 
RUNNING 

Definition at line 12 of file ECoverSearchState.c.

◆ ECoverSearchState [2/2]

Enumerator
FAIL 
SUCCESS 
RUNNING 
FAIL 
SUCCESS 
RUNNING 

Definition at line 12 of file ECoverSearchState.c.

Function Documentation

◆ ActivateAllBirds()

AIFlockClass AIAnimalClass ActivateAllBirds ( bool  val)

◆ AddAction()

proto external void AddAction ( AIActionBase  action)

Adds an action.

◆ AddFactionAwareness()

proto external void AddFactionAwareness ( notnull IEntity  mine,
notnull IEntity  awarenessAdder 
)

Update a mine's information awareness.

◆ CallActionsOnMessage()

proto external bool CallActionsOnMessage ( AIMessage  msg)

◆ CallReactToDanger()

proto external bool CallReactToDanger ( )

◆ CreateRandomBirdCenter()

proto external vector CreateRandomBirdCenter ( )

◆ CreateRandomBirdTarget()

proto external vector CreateRandomBirdTarget ( int  i)

◆ EOnActivate()

event void EOnActivate ( IEntity  owner)

Definition at line 22 of file SCR_PIPCamera.c.

◆ EOnDeactivate()

event void EOnDeactivate ( IEntity  owner)

Definition at line 881 of file SCR_VONController.c.

◆ EOnDiag()

event void EOnDiag ( IEntity  owner,
float  timeSlice 
)

Definition at line 426 of file SCR_AIGroupUtilityComponent.c.

◆ EOnInit()

event void EOnInit ( IEntity  owner)

Initialise this component with data from FactionsManager.

Event after entity is allocated and initialized.

Parameters
ownerThe owner entity

Initialise this component with data from FactionsManager.

Definition at line 79 of file SCR_AIConfigComponent.c.

◆ EvaluateActions()

AIBaseUtilityComponentClass AIComponentClass EvaluateActions ( )

Evaluate all actions and return the highest evaluated action which is not suspended. Returns nullptr if none found.

◆ FindActionOfInheritedType()

proto external AIActionBase FindActionOfInheritedType ( typename actionType  )

Finds action of provided type or a type inherited from it.

◆ FindActionOfType()

proto external AIActionBase FindActionOfType ( typename actionType  )

Finds action of exactly this type.

◆ FindActionsOfInheritedType()

proto external void FindActionsOfInheritedType ( typename actionType  ,
notnull array< ref AIActionBase outActions 
)

◆ FindActionsOfType()

proto external void FindActionsOfType ( typename actionType  ,
notnull array< ref AIActionBase outActions 
)

◆ GetActions()

proto external void GetActions ( notnull array< ref AIActionBase outActions)

◆ GetBestCover()

CoverQueryComponentClass ScriptComponentClass GetBestCover ( string  NavmeshWorld,
CoverQueryProperties  QueryParams,
out vector  outCoverPos,
out vector  outCoverTallestPos,
out int  outTileX,
out int  outTileY,
out int  outCoverId 
)

◆ GetCurrentAction()

proto external ref AIActionBase GetCurrentAction ( )

◆ GetExecutedAction()

proto external ref AIActionBase GetExecutedAction ( )

◆ GetGroupCharactersMovementTypeWanted()

proto external EMovementType GetGroupCharactersMovementTypeWanted ( )

◆ GetOriginPosition()

proto external vector GetOriginPosition ( )

◆ GetOwner()

proto external AIAgent GetOwner ( )

Owner entity of the fuel tank.

Returns the entity owning the component.

Returns the entity owner of the component.

This component takes care of sending chat messages.

Returns the parent entity of this component.

Returns
Entity this component is atached to.

Definition at line 128 of file SCR_FuelNode.c.

◆ GetSimulateCounter()

AIChimeraBehaviorTreeComponentClass AIBehaviorTreeComponentClass GetSimulateCounter ( )

◆ GetSoundMapTag()

AIAnimalClass AIAgentClass GetSoundMapTag ( )

◆ HasActionOfType()

proto external bool HasActionOfType ( typename actionType  )

Returns true when there is an action of exactly this type.

◆ ManualActivation()

proto external bool ManualActivation ( )

◆ OnFinishedLanding()

event void OnFinishedLanding ( )

◆ OnFlying()

event void OnFlying ( )

◆ OnLanding()

event void OnLanding ( )

◆ OnPostInit()

event void OnPostInit ( IEntity  owner)

Editable Mine.

Called after all components are initialized.

Parameters
ownerEntity this component is attached to.

Returns XP reward skill

Parameters
[in]reward
Returns

Editable Mine.

Initialises the handler by finding necessary dependencies.

Parameters
[in]owner

Initialises the component by finding necessary dependencies.

Parameters
[in]owner

Initialises the component, the consumer and/or the container. Event called after init when all components are initialised.

Parameters
[in]ownerEntity that owns this component.

Definition at line 72 of file SCR_AIConfigComponent.c.

◆ OnReactToDanger()

event void OnReactToDanger ( )

◆ OnTakeOff()

event void OnTakeOff ( )

◆ Register()

MineManagerComponentClass GenericComponentClass Register ( notnull IEntity  mine,
IEntity  mineSpawner 
)

Registers the given mine entity. The mine spawner will add it's awareness to it's faction of this mine.

◆ Remove()

proto external void Remove ( notnull IEntity  mine)

Removes the given mine entity.

◆ RemoveObsoleteActions()

proto external bool RemoveObsoleteActions ( )

Removes actions which are failed or completed.

◆ SetCurrentAction()

proto external void SetCurrentAction ( AIActionBase  executed)

◆ SetExecutedAction()

proto external void SetExecutedAction ( AIActionBase  executed)

◆ SetGroupCharactersWantedMovementType()

AIGroupMovementComponentClass AIBaseMovementComponentClass SetGroupCharactersWantedMovementType ( EMovementType  movementWanted)

◆ SetOriginPosition()

InsectFlyMovementComponentClass AIComponentEntityClass SetOriginPosition ( vector  position)

◆ SetStateAllActionsOfType()

proto external void SetStateAllActionsOfType ( typename actionType  ,
EAIActionState  actionState,
bool  includeInherited = false 
)

Iterates through the actions changing the state of those of the type or that inherit from it.

◆ SetStateOfRelatedAction()

proto external void SetStateOfRelatedAction ( AIActionBase  relatedAction,
EAIActionState  state 
)