Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FactionCommanderMainRequestMenuHandler.c
Go to the documentation of this file.
3{
4 //------------------------------------------------------------------------------------------------
5 override bool CanEntryBeShown(notnull Faction commanderFaction, int playerId, vector position, IEntity hoveredEntity)
6 {
7 if (SCR_FactionCommanderPlayerComponent.IsLocalPlayerCommander())
8 return true;
9
11 if (!comp)
12 return false;
13
14 SCR_AIGroup group = comp.GetPlayerGroup(playerId);
15 if (!group)
16 return false;
17
19 }
20}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
vector position
void SCR_GroupsManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
bool IsPlayerLeader(int playerID)
static int GetLocalPlayerId()
Returns either a valid ID of local player or 0.