Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_AICharacterLightInteractionSetting.c
Go to the documentation of this file.
1
4
[
BaseContainerProps
(visible:
false
)]
5
class
SCR_AICharacterLightInteractionSettingBase
: SCR_AICharacterSettingWithCause
6
{
7
override
typename
GetCategorizationType
()
8
{
9
return
SCR_AICharacterLightInteractionSettingBase
;
10
}
11
12
bool
IsLightInterractionAllowed
();
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."
)]
16
class
SCR_AICharacterLightInteractionSetting :
SCR_AICharacterLightInteractionSettingBase
17
{
18
[
Attribute
(
"0"
,
UIWidgets
.CheckBox,
desc
:
"Allows AI to touch lights"
)]
19
protected
bool
m_bAllowInteraction;
20
21
override
bool
IsLightInterractionAllowed
()
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
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_EAIBehaviorCause
SCR_EAIBehaviorCause
Definition
SCR_AIBehavior.c:2
GetCategorizationType
override GetCategorizationType()
Definition
SCR_AICharacterLightInteractionSetting.c:16
IsLightInterractionAllowed
bool IsLightInterractionAllowed()
SCR_EAISettingOrigin
SCR_EAISettingOrigin
Definition
SCR_AISetting.c:4
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
SCR_AICharacterLightInteractionSettingBase
Definition
SCR_AICharacterLightInteractionSetting.c:6
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
AI
Settings
SCR_AICharacterLightInteractionSetting.c
Generated by
1.17.0