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_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
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
Definition
SCR_AIGroupUtilityComponent.c:12
GetComponentData
SCR_CharacterSoundComponentClass GetComponentData()
Definition
SCR_CharacterSoundComponent.c:132
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
IEntity
enum EVehicleType IEntity
IEntity
Definition
IEntity.c:13
SCR_Global
Definition
Functions.c:7
SCR_Global::IsEditMode
static bool IsEditMode()
Definition
Functions.c:1566
SCR_HintConditionComponentClass
Definition
SCR_HintConditionComponent.c:3
SCR_HintConditionComponentClass::Init
void Init(IEntity owner)
Definition
SCR_HintConditionComponent.c:10
SCR_HintConditionComponentClass::Exit
void Exit(IEntity owner)
Definition
SCR_HintConditionComponent.c:18
SCR_HintConditionComponentClass::m_Hints
ref SCR_HintConditionList m_Hints
Definition
SCR_HintConditionComponent.c:5
SCR_HintConditionList
Definition
SCR_HintConditionList.c:3
ScriptComponentClass
Definition
ScriptComponentClass.c:8
ScriptComponent
Definition
ScriptComponent.c:24
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
OnPostInit
@ OnPostInit
Definition
SndComponentCallbacks.c:15
OnDelete
@ OnDelete
Definition
SndComponentCallbacks.c:16
scripts
Game
Components
Hints
SCR_HintConditionComponent.c
Generated by
1.17.0