Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ManualCameraFocusHintCondition.c
Go to the documentation of this file.
1
[
BaseContainerProps
(), SCR_BaseContainerHintCondition()]
2
class
SCR_ManualCameraFocusHintCondition
:
SCR_BaseHintCondition
3
{
4
//------------------------------------------------------------------------------------------------
5
protected
SCR_FocusManualCameraComponent
GetComponent(Managed owner)
6
{
7
SCR_ManualCamera
camera =
SCR_ManualCamera
.Cast(owner);
8
if
(camera)
9
return
SCR_FocusManualCameraComponent
.Cast(camera.FindCameraComponent(
SCR_FocusManualCameraComponent
));
10
else
11
return
null
;
12
}
13
14
//------------------------------------------------------------------------------------------------
15
override
protected
void
OnInitCondition(Managed owner)
16
{
17
SCR_FocusManualCameraComponent
component = GetComponent(owner);
18
if
(component)
19
component.GetOnFocusChange().Insert(
Activate
);
20
}
21
22
//------------------------------------------------------------------------------------------------
23
override
protected
void
OnExitCondition(Managed owner)
24
{
25
SCR_FocusManualCameraComponent
component = GetComponent(owner);
26
if
(component)
27
component.GetOnFocusChange().Remove(
Activate
);
28
}
29
}
SCR_BaseHintCondition
Definition:
SCR_BaseHintCondition.c:2
SCR_ManualCamera
Definition:
SCR_ManualCamera.c:16
SCR_FocusManualCameraComponent
Focus camera on cursor position.
Definition:
SCR_FocusManualCameraComponent.c:5
SCR_ManualCameraFocusHintCondition
Definition:
SCR_ManualCameraFocusHintCondition.c:2
Activate
protected void Activate()
Definition:
SCR_BaseHintCondition.c:9
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition:
SCR_AIGoalReaction.c:468
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Components
Hints
HintConditions
SCR_ManualCameraFocusHintCondition.c
Generated by
1.8.17