Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_HintConditionComponent.c
Go to the documentation of this file.
1
[
ComponentEditorProps
(
category
:
"GameScripted/Misc"
, description:
""
)]
2
class
SCR_HintConditionComponentClass
: ScriptComponentClass
3
{
4
[
Attribute
()]
5
protected
ref
SCR_HintConditionList
m_Hints;
6
7
//------------------------------------------------------------------------------------------------
10
void
Init(IEntity owner)
11
{
12
m_Hints
.Init(owner);
13
}
14
15
//------------------------------------------------------------------------------------------------
18
void
Exit(IEntity owner)
19
{
20
m_Hints
.Exit(owner);
21
}
22
}
23
24
class
SCR_HintConditionComponent :
ScriptComponent
25
{
26
//------------------------------------------------------------------------------------------------
27
override
void
OnPostInit
(IEntity owner)
28
{
29
if
(
SCR_Global
.IsEditMode(owner))
30
return
;
31
32
SCR_HintConditionComponentClass
prefabData =
SCR_HintConditionComponentClass
.Cast(GetComponentData(owner));
33
if
(prefabData)
34
prefabData.Init(owner);
35
}
36
37
//------------------------------------------------------------------------------------------------
38
override
void
OnDelete
(IEntity owner)
39
{
40
if
(
SCR_Global
.IsEditMode(owner))
41
return
;
42
43
SCR_HintConditionComponentClass
prefabData =
SCR_HintConditionComponentClass
.Cast(GetComponentData(owner));
44
if
(prefabData)
45
prefabData.Exit(owner);
46
}
47
}
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
OnDelete
override void OnDelete(IEntity owner)
Definition:
SCR_HintConditionComponent.c:38
SCR_HintConditionList
Definition:
SCR_HintConditionList.c:2
Attribute
typedef Attribute
Post-process effect of scripted camera.
OnPostInit
SCR_HintConditionComponentClass ScriptComponentClass OnPostInit(IEntity owner)
Called on PostInit when all components are added.
Definition:
SCR_HintConditionComponent.c:27
m_Hints
protected ref SCR_HintConditionList m_Hints
Definition:
SCR_HintConditionComponent.c:3
SCR_HintConditionComponentClass
Definition:
SCR_HintConditionComponent.c:2
SCR_Global
Definition:
Functions.c:6
category
params category
Definition:
SCR_VehicleDamageManagerComponent.c:180
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Components
Hints
SCR_HintConditionComponent.c
Generated by
1.8.17