Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BaseCameraComponent.c
Go to the documentation of this file.
1 [ComponentEditorProps(category: "GameScripted/Camera", description: "")]
2 class SCR_BaseCameraComponentClass : ScriptComponentClass
3 {
4 }
5 
8 {
9  //------------------------------------------------------------------------------------------------
10  // constructor
14  void SCR_BaseCameraComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
15  {
16  if (SCR_CameraBase.Cast(ent) == null)
17  {
18  Print(string.Format("Component %1 must be attached to SCR_CameraBase!", Type()), LogLevel.ERROR);
19  Deactivate(ent);
20  }
21  }
22 }
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
SCR_BaseCameraComponent
SCR_BaseCameraComponentClass ScriptComponentClass SCR_BaseCameraComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Base component for SCR_CameraBase.
Definition: SCR_BaseCameraComponent.c:14
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
SCR_CameraBase
Definition: SCR_CameraBase.c:9
Deactivate
protected void Deactivate()
Definition: SCR_BaseHintCondition.c:27
SCR_BaseCameraComponentClass
Definition: SCR_BaseCameraComponent.c:2
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180