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_ScenarioFrameworkOnProjectileShotConditionBase.c
Go to the documentation of this file.
1
[
BaseContainerProps
(visible:
false
, insertable:
false
)]
2
class
SCR_ScenarioFrameworkOnProjectileShotConditionBase
3
{
4
[
Attribute
(
"Debug parameter to trigger breakpoints"
)]
5
bool
m_bDebug;
6
7
[
Attribute
(defvalue:
"0"
,
desc
:
"Condition returns opposite bool if met."
)]
8
bool
m_bNegation;
9
10
//------------------------------------------------------------------------------------------------
11
bool
Init
(
int
playerID,
BaseWeaponComponent
weapon,
IEntity
entity)
12
{
13
// Here you can step out to the OnActivate method and debug this specific action if m_bDebug attribute is set to true.
14
// This can be also adjusted during runtime via Debug Menu > ScenarioFramework > Action Inspector
15
if
(m_bDebug)
16
Print
(
"[SCR_ScenarioFrameworkMedicalConditionItem.Init] debug line ("
+ __FILE__ +
" L"
+ __LINE__ +
")"
,
LogLevel
.WARNING);
17
18
if
(m_bNegation)
19
return
!ConditionCheck(playerID, weapon, entity);
20
21
return
ConditionCheck(playerID, weapon, entity);
22
}
23
24
//------------------------------------------------------------------------------------------------
25
bool
ConditionCheck(
int
playerID,
BaseWeaponComponent
weapon,
IEntity
entity)
26
{
27
return
true
;
28
}
29
}
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
BaseWeaponComponent
Definition
BaseWeaponComponent.c:13
IEntity
Definition
IEntity.c:13
SCR_ScenarioFrameworkOnProjectileShotConditionBase
Definition
SCR_ScenarioFrameworkOnProjectileShotConditionBase.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
Conditions
ProjectileConditions
SCR_ScenarioFrameworkOnProjectileShotConditionBase.c
Generated by
1.17.0