Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CampaignBuildingCameraEditorComponent.c
Go to the documentation of this file.
1 [ComponentEditorProps(category: "GameScripted/Editor", description: "Camera for in-game editor. Works only with SCR_EditorBaseEntity!", icon: "WBData/ComponentEditorProps/componentEditor.png")]
3 {
4 };
5 
9 {
10  override protected void CreateCamera()
11  {
12  super.CreateCamera();
13 
15  if (!attachComponent)
16  return;
17 
18  SCR_CampaignBuildingEditorComponent buildingComp = SCR_CampaignBuildingEditorComponent.Cast(FindEditorComponent(SCR_CampaignBuildingEditorComponent, true, true));
19  if (buildingComp)
20  attachComponent.AttachTo(buildingComp.GetTrigger());
21  }
22 };
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
SCR_CameraEditorComponent
Definition: SCR_CameraEditorComponent.c:13
m_Camera
protected SCR_ManualCamera m_Camera
Definition: SCR_BaseManualCameraComponent.c:14
SCR_CampaignBuildingCameraEditorComponent
Definition: SCR_CampaignBuildingCameraEditorComponent.c:8
SCR_CampaignBuildingCameraEditorComponentClass
Definition: SCR_CampaignBuildingCameraEditorComponent.c:2
SCR_AttachManualCameraComponent
Attach camera to a target.
Definition: SCR_AttachManualCameraComponent.c:5
SCR_CameraEditorComponentClass
Definition: SCR_CameraEditorComponent.c:2
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180