Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIGroupSetting.c
Go to the documentation of this file.
3[BaseContainerProps(visible: false, insertable: false)]
4class SCR_AIGroupSetting : SCR_AISettingBase
5{
12
13 override int GetMaxActionCause() { return ACTION_CAUSE_NOT_SUPPORTED; }
14}
15
16
17// Base class for AI group settings which support cause
18[BaseContainerProps(visible: false, insertable: false)]
19class SCR_AIGroupSettingWithCause : SCR_AIGroupSetting
20{
21 [Attribute(typename.EnumToString(SCR_EAIActivityCause, SCR_EAIActivityCause.ALWAYS), UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(SCR_EAIActivityCause), desc: "The setting applies to actions of this cause and all below it (higher in the combo box list)")]
22 protected SCR_EAIActivityCause m_eCause;
23
24 //---------------------------------------------------------------------------------------------------
25 protected void Init(SCR_EAISettingOrigin origin, SCR_EAIActivityCause cause)
26 {
27 Init(origin);
28 m_eCause = cause;
29 }
30
31 //---------------------------------------------------------------------------------------------------
32 override int GetMaxActionCause()
33 {
34 return m_eCause;
35 }
36}
override void Init()
SCR_EAIActivityCause
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override int GetMaxActionCause()
SCR_EAISettingOrigin
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute