Arma Reforger Script API
Loading...
Searching...
No Matches
AISpawnerGroup Interface Reference
Inheritance diagram for AISpawnerGroup:
AIGroup AIAgent SCR_AISpawnerGroupFaction

Public Member Functions

proto external bool 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 ()
 
void OnSpawn (IEntity spawned)
 
- Public Member Functions inherited from AIGroup
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)
 

Additional Inherited Members

- Static Public Member Functions inherited from AIAgent
static proto int GetMaxLOD ()
 
- Protected Member Functions inherited from AIGroup
void OnCurrentWaypointChanged (AIWaypoint currentWP, AIWaypoint prevWP)
 
void OnWaypointCompleted (AIWaypoint wp)
 
void OnWaypointAdded (AIWaypoint wp)
 
void OnWaypointRemoved (AIWaypoint wp, bool isCurrentWaypoint)
 

Member Function Documentation

◆ GetMaxAgentsToSpawn()

proto external int AISpawnerGroup.GetMaxAgentsToSpawn ( )

◆ IsSpawningFinished()

proto external bool AISpawnerGroup.IsSpawningFinished ( )

◆ OnSpawn()

void AISpawnerGroup.OnSpawn ( IEntity spawned)

Implemented in SCR_AISpawnerGroupFaction.

◆ SetMaxAgentsToSpawn()

proto external void AISpawnerGroup.SetMaxAgentsToSpawn ( int pCount)

◆ Spawn()

proto external bool AISpawnerGroup.Spawn ( )

Spawns a new group entity, sets its transformation and then calls OnSpawn.


The documentation for this interface was generated from the following file: