Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FactionCommanderBaseLogicComponent.c
Go to the documentation of this file.
1[ComponentEditorProps(category: "GameScripted/Commander")]
5
6class SCR_FactionCommanderBaseLogicComponent : SCR_MilitaryBaseLogicComponent
7{
8 //------------------------------------------------------------------------------------------------
9 override bool IsControlledByFaction(notnull Faction faction)
10 {
11 foreach (SCR_MilitaryBaseComponent base : m_aBases)
12 {
14 continue;
15
16 if (base.GetFaction() == faction)
17 return true;
18 }
19
20 return false;
21 }
22}
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
SCR_FactionCommanderBaseLogicComponentClass SCR_MilitaryBaseLogicComponentClass IsControlledByFaction(notnull Faction faction)
SCR_MilitaryBaseLogicComponentClass m_aBases