Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_HintConditionComponent.c
Go to the documentation of this file.
1[ComponentEditorProps(category: "GameScripted/Misc", description: "")]
3{
4 [Attribute()]
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
24class SCR_HintConditionComponent : ScriptComponent
25{
26 //------------------------------------------------------------------------------------------------
27 override void OnPostInit(IEntity owner)
28 {
30 return;
31
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;
44 if (prefabData)
45 prefabData.Exit(owner);
46 }
47}
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
SCR_CharacterSoundComponentClass GetComponentData()
enum EVehicleType IEntity
static bool IsEditMode()
Definition Functions.c:1566
SCR_FieldOfViewSettings Attribute