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_ScenarioFrameworkInstigatorContextConditionBase.c
Go to the documentation of this file.
1
[
BaseContainerProps
(visible:
false
, insertable:
false
)]
2
class
SCR_ScenarioFrameworkInstigatorContextConditionBase
3
{
4
[
Attribute
(
desc
:
"If set to true, when this action gets activated, it will break the breakpoint in the Script Editor in Init method."
)]
5
bool
m_bDebug;
6
7
[
Attribute
(
desc
:
"Condition returns opposite bool if met."
)]
8
bool
m_bNegation;
9
10
//------------------------------------------------------------------------------------------------
13
bool
Init
(
SCR_InstigatorContextData
instigatorContext)
14
{
15
if
(m_bDebug)
16
Print
(
"SCR_ScenarioFrameworkInstigatorContextConditionBase.Init] debug line ("
+ __FILE__ +
" L"
+ __LINE__ +
")"
,
LogLevel
.WARNING);
17
18
//Condition is separated into another method, so it can be used with negation
19
if
(m_bNegation)
20
return
!ConditionCheck(instigatorContext);
21
22
return
ConditionCheck(instigatorContext);
23
}
24
25
//------------------------------------------------------------------------------------------------
26
bool
ConditionCheck(
SCR_InstigatorContextData
instigatorContext)
27
{
28
return
false
;
29
}
30
}
Init
override void Init()
Definition
CharacterCameraHandlerComponent.c:40
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
SCR_InstigatorContextData
Definition
SCR_InstigatorContextData.c:2
SCR_ScenarioFrameworkInstigatorContextConditionBase
Definition
SCR_ScenarioFrameworkInstigatorContextConditionBase.c:3
Print
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
LogLevel
Enum with severity of the logging message.
Definition
LogLevel.c:14
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
ScenarioFramework
Actions
ActionInputs
InstigatorContextConditions
SCR_ScenarioFrameworkInstigatorContextConditionBase.c
Generated by
1.17.0