Arma Reforger Script API
|
Fireteam base class Fireteam is like a collection of agents in a group. More...
Public Member Functions | |
void | AddMember (AIAgent agent) |
void | RemoveMember (AIAgent agent) |
AIAgent | GetMember (int id) |
IEntity | GetFirstMemberEntity () |
void | GetMembers (notnull array< AIAgent > outAgents) |
void | MoveMembersFrom (notnull SCR_AIGroupFireteam otherFt, int count) |
Moves 'count' members from other fireteam to this one. | |
bool | HasMember (AIAgent agent) |
int | GetMemberCount () |
void | Internal_OnLockDestroyed () |
Don't ever try to free a fireteam yourself, use SCR_AIGroupFireteamLock instead. | |
bool | IsLocked () |
SCR_AIGroupFireteamLock | TryLock () |
Tries to lock the fireteam, on success returns the Lock object. | |
Protected Member Functions | |
void | RemoveMember (int id, out AIAgent outAgent) |
Protected Attributes | |
ref array< AIAgent > | m_aAgents = {} |
bool | m_bLocked = false |
Fireteam base class Fireteam is like a collection of agents in a group.
void SCR_AIGroupFireteam.AddMember | ( | AIAgent | agent | ) |
IEntity SCR_AIGroupFireteam.GetFirstMemberEntity | ( | ) |
AIAgent SCR_AIGroupFireteam.GetMember | ( | int | id | ) |
int SCR_AIGroupFireteam.GetMemberCount | ( | ) |
void SCR_AIGroupFireteam.GetMembers | ( | notnull array< AIAgent > | outAgents | ) |
bool SCR_AIGroupFireteam.HasMember | ( | AIAgent | agent | ) |
void SCR_AIGroupFireteam.Internal_OnLockDestroyed | ( | ) |
Don't ever try to free a fireteam yourself, use SCR_AIGroupFireteamLock instead.
bool SCR_AIGroupFireteam.IsLocked | ( | ) |
void SCR_AIGroupFireteam.MoveMembersFrom | ( | notnull SCR_AIGroupFireteam | otherFt, |
int | count | ||
) |
Moves 'count' members from other fireteam to this one.
void SCR_AIGroupFireteam.RemoveMember | ( | AIAgent | agent | ) |
|
protected |
SCR_AIGroupFireteamLock SCR_AIGroupFireteam.TryLock | ( | ) |
Tries to lock the fireteam, on success returns the Lock object.
Store the returned Lock object as strong reference.
|
protected |
|
protected |