|
| 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 | EAIDangerEventType {
Danger_None
, Danger_NewEnemy
, Danger_Deadbody
, Danger_DamageTaken
,
Danger_MeleeDamageTaken
, Danger_ProjectileHit
, Danger_LostTarget
, Danger_GrenadeLanding
,
Danger_WeaponFire
, Danger_Vehicle
, Danger_StartedBleeding
, Danger_DoorMovement
,
Danger_VehicleHorn
, Danger_Explosion
, Danger_PhysicsContact
, Danger_None
,
Danger_NewEnemy
, Danger_Deadbody
, Danger_DamageTaken
, Danger_MeleeDamageTaken
,
Danger_ProjectileHit
, Danger_LostTarget
, Danger_GrenadeLanding
, Danger_WeaponFire
,
Danger_Vehicle
, Danger_StartedBleeding
, Danger_DoorMovement
, Danger_VehicleHorn
,
Danger_Explosion
, Danger_PhysicsContact
} |
| enum | EAIDangerEventType {
Danger_None
, Danger_NewEnemy
, Danger_Deadbody
, Danger_DamageTaken
,
Danger_MeleeDamageTaken
, Danger_ProjectileHit
, Danger_LostTarget
, Danger_GrenadeLanding
,
Danger_WeaponFire
, Danger_Vehicle
, Danger_StartedBleeding
, Danger_DoorMovement
,
Danger_VehicleHorn
, Danger_Explosion
, Danger_PhysicsContact
, Danger_None
,
Danger_NewEnemy
, Danger_Deadbody
, Danger_DamageTaken
, Danger_MeleeDamageTaken
,
Danger_ProjectileHit
, Danger_LostTarget
, Danger_GrenadeLanding
, Danger_WeaponFire
,
Danger_Vehicle
, Danger_StartedBleeding
, Danger_DoorMovement
, Danger_VehicleHorn
,
Danger_Explosion
, Danger_PhysicsContact
} |
| 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 | EAIOrderType {
AIOrder_None
, AIOrder_Hold
, AIOrder_Move
, AIOrder_Follow
,
AIOrder_Rearm
, AIOrder_Defend
, AIOrder_GetIn
, AIOrder_Attack
,
AIOrder_Custom
, AIOrder_None
, AIOrder_Hold
, AIOrder_Move
,
AIOrder_Follow
, AIOrder_Rearm
, AIOrder_Defend
, AIOrder_GetIn
,
AIOrder_Attack
, AIOrder_Custom
} |
| enum | EAIOrderType {
AIOrder_None
, AIOrder_Hold
, AIOrder_Move
, AIOrder_Follow
,
AIOrder_Rearm
, AIOrder_Defend
, AIOrder_GetIn
, AIOrder_Attack
,
AIOrder_Custom
, AIOrder_None
, AIOrder_Hold
, AIOrder_Move
,
AIOrder_Follow
, AIOrder_Rearm
, AIOrder_Defend
, AIOrder_GetIn
,
AIOrder_Attack
, AIOrder_Custom
} |
| 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 | EAIWaypointCompletionType {
All
, Leader
, Any
, All
,
Leader
, Any
} |
| enum | EAIWaypointCompletionType {
All
, Leader
, Any
, All
,
Leader
, Any
} |
| enum | EMoveError {
OK
, STUCK
, STOPPED
, UNREACHABLE
,
WAITING_ON_NAVLINK
, ENTITY_CANT_MOVE
, ENTITY_NOT_MOVABLE
, UNKNOWN
,
OK
, STUCK
, STOPPED
, UNREACHABLE
,
WAITING_ON_NAVLINK
, ENTITY_CANT_MOVE
, ENTITY_NOT_MOVABLE
, UNKNOWN
} |
| enum | EMoveError {
OK
, STUCK
, STOPPED
, UNREACHABLE
,
WAITING_ON_NAVLINK
, ENTITY_CANT_MOVE
, ENTITY_NOT_MOVABLE
, UNKNOWN
,
OK
, STUCK
, STOPPED
, UNREACHABLE
,
WAITING_ON_NAVLINK
, ENTITY_CANT_MOVE
, ENTITY_NOT_MOVABLE
, UNKNOWN
} |
| enum | ENodeResult {
NONE
, FAIL
, SUCCESS
, RUNNING
,
ABORTED
, FINISHED
, TERMINAL
, NONE
,
FAIL
, SUCCESS
, RUNNING
, ABORTED
,
FINISHED
, TERMINAL
} |
| enum | ENodeResult {
NONE
, FAIL
, SUCCESS
, RUNNING
,
ABORTED
, FINISHED
, TERMINAL
, NONE
,
FAIL
, SUCCESS
, RUNNING
, ABORTED
,
FINISHED
, TERMINAL
} |
|
| AIAgentClass GenericControllerClass | GetControlledEntity () |
| proto external AIGroup | GetParentGroup () |
| proto external void | SetLOD (int newLOD) |
| proto external int | GetLOD () |
| proto external void | SetPermanentLOD (int lod) |
| proto external int | GetPermanentLOD () |
| proto external void | PreventMaxLOD (float preventTime=-1) |
| proto external void | AllowMaxLOD () |
| proto external bool | CountTowardsAIWorldLimit () |
| proto external int | GetDangerEventsCount () |
| proto AIDangerEvent | GetDangerEvent (int index, out int outCount) |
| | Internally similar danger events can be aggregated. In that case the new danger event is not put into the queue, but instead counter of previous similar event is increased.
|
| proto external void | ClearDangerEvents (int howMany) |
| proto external void | ExtractAIEvents (out notnull array< AIWaypoint > aiEvents) |
| proto external ActionManager | GetActionManager () |
| proto external AICommunicationComponent | GetCommunicationComponent () |
| proto external AIControlComponent | GetControlComponent () |
| proto external AIBaseMovementComponent | GetMovementComponent () |
| proto external AIBaseAimingComponent | GetAimingComponent () |
| proto external void | ActivateAI () |
| | Activates AI group, removes unwanted prefabs, balances units count, sets on agent remove and add events,.
|
| proto external void | DeactivateAI () |
| proto external bool | IsAIActivated () |
| event void | OnLODChanged (int oldLOD, int newLOD) |
| AIAnimalClass AIAgentClass | GetSoundMapTag () |
| proto external bool | CallReactToDanger () |
| proto external bool | ManualActivation () |
| event void | OnReactToDanger () |
| AIBaseMovementComponentClass AIComponentEntityClass | HasCompletedRequest (bool bTakeTimeIntoAccount) |
| proto external bool | RequestFollowPathOfEntity (IEntity other) |
| proto external void | GetCurrentPath (notnull array< vector > outPoints) |
| proto external AIPathfindingComponent | GetPathfindingComponent () |
| event void | OnPathSet () |
| AIBaseUtilityComponentClass AIComponentClass | EvaluateActions () |
| | Evaluate all actions and return the highest evaluated action which is not suspended. Returns nullptr if none found.
|
| proto external void | AddAction (AIActionBase action) |
| | Adds an action.
|
| proto external bool | RemoveObsoleteActions () |
| | Removes actions which are failed or completed.
|
| 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.
|
| proto external bool | HasActionOfType (typename actionType) |
| | Returns true when there is an action of exactly this type.
|
| proto external AIActionBase | FindActionOfType (typename actionType) |
| | Finds action of exactly this type.
|
| proto external AIActionBase | FindActionOfInheritedType (typename actionType) |
| | Finds action of provided type or a type inherited from it.
|
| 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 AIActionBase | GetCurrentAction () |
| proto external void | SetCurrentAction (AIActionBase executed) |
| proto external AIActionBase | GetExecutedAction () |
| proto external void | SetExecutedAction (AIActionBase executed) |
| proto external AIAgent | GetOwner () |
| | Owner entity of the fuel tank.
|
| event void | EOnInit (IEntity owner) |
| event void | OnPostInit (IEntity owner) |
| | Editable Mine.
|
| event void | EOnDeactivate (IEntity owner) |
| event void | EOnDiag (IEntity owner, float timeSlice) |
| event void | EOnActivate (IEntity owner) |
| AIBehaviorTreeComponentClass AIBehaviorTreeComponentBaseClass | SetBtBreakpoint (bool value) |
| | Sets breakpoint on the root node of the behavior tree.
|
| AIChimeraBehaviorTreeComponentClass AIBehaviorTreeComponentClass | GetSimulateCounter () |
| AICommunicationComponentClass AIComponentClass | Obsolete ()] proto AIMessage CreateMessage(typename pClass) |
| proto external bool | RequestBroadcast (AIMessage pMessage, AIAgent receiver=null) |
| proto external AIOrder | GetOrder (int id) |
| proto external void | RemoveOrder (int id) |
| proto external int | GetOrderCount () |
| proto external void | ClearOrders () |
| proto external AIMessage | GetMessage (int id) |
| proto external void | RemoveMessage (int id) |
| proto external int | GetMessageCount () |
| proto external void | ClearMessages () |
| event void | OnReceived (AIMessage pMessage) |
| | Called when message is received and added to receive queue.
|
| event void | OnFrame (IEntity owner, float timeSlice) |
| event void | OnInit (IEntity owner) |
| AIControlComponentClass AIComponentEntityClass | GetControlAIAgent () |
| 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 () |
| AIGroupClass AIAgentClass | AddAgent (AIAgent pAgent) |
| proto external void | RemoveAgent (AIAgent pAgent) |
| proto external int | GetAgents (notnull out array< AIAgent > outAgents) |
| proto external int | GetAgentsCount () |
| proto external int | GetServerAgentsCount () |
| proto external void | ActivateAllMembers () |
| proto external void | DeactivateAllMembers () |
| proto external AIFormationComponent | GetFormationComponent () |
| proto external void | AddWaypoint (AIWaypoint w) |
| proto external void | RemoveWaypoint (AIWaypoint w) |
| proto external void | AddWaypointAt (AIWaypoint w, int index) |
| proto external void | RemoveWaypointAt (int index) |
| proto external void | CompleteWaypoint (AIWaypoint w) |
| | Completes specified waypoint and removes it from the list of waypoints, no need to call RemoveWaypoint.
|
| proto external AIWaypoint | GetCurrentWaypoint () |
| proto external int | GetWaypoints (out array< AIWaypoint > outWaypoints) |
| proto external AIAgent | GetLeaderAgent () |
| proto external IEntity | GetLeaderEntity () |
| proto external vector | GetCenterOfMass () |
| proto external void | SetNewLeader (AIAgent newLeader) |
| void | OnCurrentWaypointChanged (AIWaypoint currentWP, AIWaypoint prevWP) |
| void | OnWaypointCompleted (AIWaypoint wp) |
| void | OnWaypointAdded (AIWaypoint wp) |
| void | OnWaypointRemoved (AIWaypoint wp, bool isCurrentWaypoint) |
| event void | OnEmpty () |
| event void | OnAgentAdded (AIAgent child) |
| event void | OnAgentRemoved (AIAgent child) |
| event void | OnLeaderChanged (AIAgent currentLeader, AIAgent prevLeader) |
| proto external void | SetGroupCharactersWantedMovementType (EMovementType movementWanted) |
| proto external EMovementType | GetGroupCharactersMovementTypeWanted () |
| proto external int | GetAgentMoveHandlerId (notnull AIAgent agent) |
| proto external int | CreateGroupMoveHandler (string formationType) |
| proto external int | GetMoveHandlerAgentCount (int handlerId=0) |
| proto external void | MoveAgentToHandler (notnull AIAgent agent, int originalHandlerId, int newHandlerId) |
| proto external void | SetMoveHandlerLeader (notnull AIAgent agent, int originalHandlerId, int newHandlerId) |
| proto external void | RemoveGroupMoveHandler (int handlerId) |
| proto external void | ClearGroupMoveHandlers () |
| proto external bool | SetFormationDefinition (int handlerId, string formation) |
| proto external AIFormationDefinition | GetFormationDefinition (int handlerId) |
| proto external void | SetFormationDisplacement (int iValue, int handlerId=0) |
| proto external int | GetFormationDisplacement (int handlerId=0) |
| proto AIAgent | GetHandlerLeaderAgent (int handlerId=0) |
| proto int | GetAgentsInHandler (notnull out array< AIAgent > outAgents, int handlerId=0) |
| proto external bool | IsFormationDisplaced (int handlerId=0) |
| event void | OnMoveHandlerAdded (int handlerId) |
| event void | OnMoveHandlerRemoved (int handlerId) |
| AIPathfindingComponentClass AIComponentClass | RayTrace (vector position, vector destination, vector hitPos) |
| proto external void | SetAreaCosts (ResourceName config) |
| proto external NavmeshWorldComponent | GetNavmeshComponent () |
| proto external bool | GetClosestPositionOnNavmesh (vector position, vector searchHalfExtents, out vector correctedPosition) |
| AISpawnerGroupClass AIGroupClass | Spawn () |
| | Spawns a new group entity, sets its transformation and then calls OnSpawn.
|
| proto external bool | IsSpawningFinished () |
| proto external void | SetMaxAgentsToSpawn (int pCount) |
| proto external int | GetMaxAgentsToSpawn () |
| event void | OnSpawn (IEntity spawned) |
| AIWaypointClass GenericEntityClass | GetCompletionYPrecision () |
| | Enfusion waypoints do not specify just a point in the world, they can also include a logic, goal, etc. to run at the reached waypoint.
|
| proto external void | SetCompletionYPrecision (float fPrecision) |
| proto external float | GetCompletionRadius () |
| proto external void | SetCompletionRadius (float r) |
| proto external EAIWaypointCompletionType | GetCompletionType () |
| proto external void | SetCompletionType (EAIWaypointCompletionType newCompletionType) |
| proto external bool | IsWithinCompletionRadius (AIGroup pAgent) |
| | Tests whether the group passes the test on being within the completion radius.
|
| AIWaypointCycleClass AIWaypointClass | PerformOn (AIGroup runningAgent) |
| | Cycled waypoints are used when we want a series of waypoints repeating for an infinite or finite time. Cycled waypoint inserts the cycling waypoints (and itself) into the agents waypoints array to keep the cycle running.
|
| proto external void | SetRerunCounter (int val) |
| proto external int | GetRerunCounter () |
| proto external void | SetWaypoints (array< AIWaypoint > waypoints) |
| AIWorldClass GenericEntityClass | GetCurrentAmountOfLimitedAIs () |
| proto external int | GetAILimit () |
| proto external void | SetAILimit (int max) |
| proto external bool | CanLimitedAIBeAdded () |
| proto external int | GetCurrentNumOfActiveAIs () |
| proto external int | GetLimitOfActiveAIs () |
| proto external void | SetLimitOfActiveAIs (int max) |
| proto external bool | CanAIBeActivated () |
| proto external void | GetAIAgents (out notnull array< AIAgent > agents) |
| proto external void | RequestBroadcastDangerEvent (AIDangerEvent pEvent) |
| proto external AIFormationDefinition | GetFormation (string pName) |
| proto external NavmeshWorldComponent | GetNavmeshWorldComponent (string name) |
| proto external void | RequestNavmeshRebuild (vector min, vector max) |
| proto external void | RequestNavmeshLoad (vector pos) |
| event void | OnDebugCameraTeleport (vector pos) |
| event void | OnDebugAgentTeleport (AIAgent agent) |
| event void | AddedAIAgent (AIAgent agent) |
| event void | RemovingAIAgent (AIAgent agent) |
| ChimeraAIWorldClass AIWorldClass | GetCurrentAmountOfLimitedAIsForFaction (FactionKey factionKey) |
| proto external int | GetAILimitForFaction (FactionKey factionKey) |
| proto external bool | CanLimitedAIBeAddedForFaction (FactionKey factionKey) |
| proto external void | RequestRoadNetworkRebuild (vector min, vector max) |
| proto external RoadNetworkManager | GetRoadNetworkManager () |
| ChimeraCoverManagerComponentClass CoverManagerComponentClass | GetBestCover (string navmeshWorld, notnull AIPathfindingComponent pathfindingComp, notnull CoverQueryProperties queryParams, out vector outCoverPos, out vector outCoverTallestPos, out int outTileX, out int outTileY, out int outCoverId) |
| proto external void | SetOccupiedCover (int tileX, int tileY, int coverId, bool occupied) |
| 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.
|
| proto external void | Remove (notnull IEntity mine) |
| | Removes the given mine entity.
|
| proto external void | AddFactionAwareness (notnull IEntity mine, notnull IEntity awarenessAdder) |
| | Update a mine's information awareness.
|
| NavmeshWorldComponentClass GenericComponentClass | IsTileLoaded (vector wPos) |
| proto external bool | IsTileValid (vector wPos) |
| proto external bool | IsTileRequested (vector wPos) |
| proto external bool | LoadTileIn (vector wPos) |
| proto external bool | GetReachablePoint (vector originPoint, float distance, vector outPosition) |