Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
AIGroup.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
12
class
AIGroupClass
:
AIAgentClass
13
{
14
}
15
16
class
AIGroup: AIAgent
17
{
18
proto external
void
AddAgent
(AIAgent pAgent);
19
proto external
void
RemoveAgent
(AIAgent pAgent);
20
proto external
int
GetAgents
(notnull out array<AIAgent> outAgents);
24
proto external
int
GetAgentsCount
();
29
proto external
int
GetServerAgentsCount
();
30
proto external
void
ActivateAllMembers
();
31
proto external
void
DeactivateAllMembers
();
32
proto external
AIFormationComponent
GetFormationComponent
();
33
// waypoints handling
34
proto external
void
AddWaypoint
(AIWaypoint w);
35
proto external
void
RemoveWaypoint
(AIWaypoint w);
36
proto external
void
AddWaypointAt
(AIWaypoint w,
int
index
);
37
proto external
void
RemoveWaypointAt
(
int
index
);
39
proto external
void
CompleteWaypoint
(AIWaypoint w);
40
proto external AIWaypoint
GetCurrentWaypoint
();
41
proto external
int
GetWaypoints
(out array<AIWaypoint> outWaypoints);
42
proto external AIAgent
GetLeaderAgent
();
43
proto external
IEntity
GetLeaderEntity
();
44
// Returns center of mass of the group, which is average of all member positions
45
proto external
vector
GetCenterOfMass
();
46
proto external
void
SetNewLeader
(AIAgent newLeader);
47
48
// callbacks
49
50
// WP Events
51
event
protected
void
OnCurrentWaypointChanged
(AIWaypoint currentWP, AIWaypoint prevWP);
52
event
protected
void
OnWaypointCompleted
(AIWaypoint wp);
53
event
protected
void
OnWaypointAdded
(AIWaypoint wp);
54
event
protected
void
OnWaypointRemoved
(AIWaypoint wp,
bool
isCurrentWaypoint);
55
event
void
OnEmpty
();
56
event
void
OnAgentAdded
(AIAgent child);
57
event
void
OnAgentRemoved
(AIAgent child);
58
event
void
OnLeaderChanged
(AIAgent currentLeader, AIAgent prevLeader);
59
}
60
OnAgentRemoved
void OnAgentRemoved()
Definition
SCR_AmbientPatrolSpawnPointComponent.c:451
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition
SCR_DestructionSynchronizationComponent.c:17
OnWaypointRemoved
void OnWaypointRemoved(AIWaypoint wp)
Definition
SCR_EditableGroupComponent.c:221
OnAgentAdded
void OnAgentAdded()
Definition
SCR_GroupIdentityComponent.c:99
AIAgentClass
Definition
AIAgent.c:13
AIFormationComponent
Definition
AIFormationComponent.c:13
AIGroupClass
Definition
AIGroup.c:13
IEntity
Definition
IEntity.c:13
vector
Definition
vector.c:13
GetCenterOfMass
proto external vector GetCenterOfMass()
DeactivateAllMembers
proto external void DeactivateAllMembers()
SetNewLeader
proto external void SetNewLeader(AIAgent newLeader)
GetLeaderEntity
proto external IEntity GetLeaderEntity()
AddWaypointAt
proto external void AddWaypointAt(AIWaypoint w, int index)
GetFormationComponent
proto external AIFormationComponent GetFormationComponent()
GetCurrentWaypoint
proto external AIWaypoint GetCurrentWaypoint()
ActivateAllMembers
proto external void ActivateAllMembers()
OnEmpty
override void OnEmpty()
Definition
SCR_AIGroup.c:5250
GetWaypoints
proto external int GetWaypoints(out array< AIWaypoint > outWaypoints)
GetLeaderAgent
proto external AIAgent GetLeaderAgent()
CompleteWaypoint
proto external void CompleteWaypoint(AIWaypoint w)
Completes specified waypoint and removes it from the list of waypoints, no need to call RemoveWaypoin...
GetServerAgentsCount
proto external int GetServerAgentsCount()
OnWaypointAdded
void OnWaypointAdded(AIWaypoint wp)
Definition
SCR_EditableGroupComponent.c:209
GetAgents
proto external int GetAgents(notnull out array< AIAgent > outAgents)
OnCurrentWaypointChanged
void OnCurrentWaypointChanged(AIWaypoint _currentWp, AIWaypoint _prevWp)
Definition
SCR_AIGroupSettingsComponent.c:160
AddAgent
AIGroupClass AIAgentClass AddAgent(AIAgent pAgent)
OnWaypointCompleted
void OnWaypointCompleted(AIWaypoint wp)
Definition
SCR_EditableGroupComponent.c:203
RemoveWaypointAt
proto external void RemoveWaypointAt(int index)
RemoveWaypoint
proto external void RemoveWaypoint(AIWaypoint w)
AddWaypoint
proto external void AddWaypoint(AIWaypoint w)
OnLeaderChanged
void OnLeaderChanged(AIAgent currentLeader, AIAgent prevLeader)
Definition
SCR_EditableGroupComponent.c:180
RemoveAgent
proto external void RemoveAgent(AIAgent pAgent)
GetAgentsCount
proto external int GetAgentsCount()
scripts
Game
generated
AI
AIGroup.c
Generated by
1.17.0