Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AICharacterLightInteractionSetting.c
Go to the documentation of this file.
4[BaseContainerProps(visible: false)]
5class SCR_AICharacterLightInteractionSettingBase : SCR_AICharacterSettingWithCause
6{
7 override typename GetCategorizationType()
8 {
10 }
11
13}
14
15[BaseContainerProps(description: "Allows AI to 'touch' lights. It's not meant to switch lights On/Off! Use it if you want to toggle lights yourself.")]
16class SCR_AICharacterLightInteractionSetting : SCR_AICharacterLightInteractionSettingBase
17{
18 [Attribute("0", UIWidgets.CheckBox, desc: "Allows AI to touch lights")]
19 protected bool m_bAllowInteraction;
20
22 {
23 return m_bAllowInteraction;
24 }
25
26 static SCR_AICharacterLightInteractionSetting Create(SCR_EAISettingOrigin origin, SCR_EAIBehaviorCause cause, bool allowInteraction)
27 {
28 auto s = new SCR_AICharacterLightInteractionSetting();
29 s.Init(origin, cause);
30 s.m_bAllowInteraction = allowInteraction;
31 return s;
32 }
33
34 override string GetDebugText()
35 {
36 return string.Format("Allowed: %1", m_bAllowInteraction);
37 }
38}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
SCR_EAIBehaviorCause
override GetCategorizationType()
bool IsLightInterractionAllowed()
SCR_EAISettingOrigin
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute