Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FactionCommanderSignupComponent.c
Go to the documentation of this file.
2[ComponentEditorProps(category: "GameScripted/Commander", description: "Add this component to an entity at which players will volunteer for faction commander role via user action.")]
6
7class SCR_FactionCommanderSignupComponent : SCR_MilitaryBaseLogicComponent
8{
9 //------------------------------------------------------------------------------------------------
10 override bool IsControlledByFaction(notnull Faction faction)
11 {
12 foreach (SCR_MilitaryBaseComponent base : m_aBases)
13 {
15 continue;
16
17 if (base.GetFaction() == faction)
18 return true;
19 }
20
21 return false;
22 }
23}
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
Add this component to an entity at which players will volunteer for faction commander role via user a...