|
Arma Reforger Script API
|
Public Member Functions | |
| proto external void | AddAgent (AIAgent pAgent) |
| proto external void | RemoveAgent (AIAgent pAgent) |
| proto external int | GetAgents (notnull out array< AIAgent > outAgents) |
| proto external int | GetAgentsCount () |
| 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 | OnEmpty () |
| void | OnAgentAdded (AIAgent child) |
| void | OnAgentRemoved (AIAgent child) |
| void | OnLeaderChanged (AIAgent currentLeader, AIAgent prevLeader) |
Public Member Functions inherited from AIAgent | |
| proto external IEntity | 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 () |
| proto external void | DeactivateAI () |
| proto external bool | IsAIActivated () |
| void | OnLODChanged (int oldLOD, int newLOD) |
Protected Member Functions | |
| void | OnCurrentWaypointChanged (AIWaypoint currentWP, AIWaypoint prevWP) |
| void | OnWaypointCompleted (AIWaypoint wp) |
| void | OnWaypointAdded (AIWaypoint wp) |
| void | OnWaypointRemoved (AIWaypoint wp, bool isCurrentWaypoint) |
Additional Inherited Members | |
Static Public Member Functions inherited from AIAgent | |
| static proto int | GetMaxLOD () |
| proto external void AIGroup.ActivateAllMembers | ( | ) |
| proto external void AIGroup.AddAgent | ( | AIAgent | pAgent | ) |
| proto external void AIGroup.AddWaypoint | ( | AIWaypoint | w | ) |
| proto external void AIGroup.AddWaypointAt | ( | AIWaypoint | w, |
| int | index ) |
| proto external void AIGroup.CompleteWaypoint | ( | AIWaypoint | w | ) |
Completes specified waypoint and removes it from the list of waypoints, no need to call RemoveWaypoint.
| proto external void AIGroup.DeactivateAllMembers | ( | ) |
| proto external int AIGroup.GetAgents | ( | notnull out array< AIAgent > | outAgents | ) |
| proto external int AIGroup.GetAgentsCount | ( | ) |
| proto external vector AIGroup.GetCenterOfMass | ( | ) |
| proto external AIWaypoint AIGroup.GetCurrentWaypoint | ( | ) |
| proto external AIFormationComponent AIGroup.GetFormationComponent | ( | ) |
| proto external AIAgent AIGroup.GetLeaderAgent | ( | ) |
| proto external IEntity AIGroup.GetLeaderEntity | ( | ) |
| proto external int AIGroup.GetWaypoints | ( | out array< AIWaypoint > | outWaypoints | ) |
| void AIGroup.OnAgentAdded | ( | AIAgent | child | ) |
Implemented in SCR_AIGroup.
| void AIGroup.OnAgentRemoved | ( | AIAgent | child | ) |
Implemented in SCR_AIGroup.
|
protected |
Implemented in SCR_AIGroup.
| void AIGroup.OnEmpty | ( | ) |
Implemented in SCR_AIGroup.
Implemented in SCR_AIGroup.
|
protected |
Implemented in SCR_AIGroup.
|
protected |
Implemented in SCR_AIGroup.
|
protected |
Implemented in SCR_AIGroup.
| proto external void AIGroup.RemoveAgent | ( | AIAgent | pAgent | ) |
| proto external void AIGroup.RemoveWaypoint | ( | AIWaypoint | w | ) |
| proto external void AIGroup.RemoveWaypointAt | ( | int | index | ) |
| proto external void AIGroup.SetNewLeader | ( | AIAgent | newLeader | ) |