Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ManualCameraLightHintCondition.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.GetOnLightChanged().Insert(Activate);
20 }
21
22 //------------------------------------------------------------------------------------------------
23 override protected void OnExitCondition(Managed owner)
24 {
26 if (component)
27 component.GetOnLightChanged().Remove(Activate);
28 }
29}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Create a light on camera position.
SCR_BaseManualCameraComponent FindCameraComponent(typename type)
SCR_LightManualCameraComponent GetComponent(Managed owner)