Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ManualCameraFocusHintCondition.c
Go to the documentation of this file.
1[BaseContainerProps(), SCR_BaseContainerHintCondition()]
3{
4 //------------------------------------------------------------------------------------------------
6 {
7 SCR_ManualCamera camera = SCR_ManualCamera.Cast(owner);
8 if (camera)
10 else
11 return null;
12 }
13
14 //------------------------------------------------------------------------------------------------
15 override protected void OnInitCondition(Managed owner)
16 {
18 if (component)
19 component.GetOnFocusChange().Insert(Activate);
20 }
21
22 //------------------------------------------------------------------------------------------------
23 override protected void OnExitCondition(Managed owner)
24 {
26 if (component)
27 component.GetOnFocusChange().Remove(Activate);
28 }
29}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Focus camera on cursor position.
SCR_FocusManualCameraComponent GetComponent(Managed owner)
SCR_BaseManualCameraComponent FindCameraComponent(typename type)