Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CapturePointAreaMeshComponent.c
Go to the documentation of this file.
1 [ComponentEditorProps(category: "GameScripted/Area Mesh", description: "")]
3 {
4 }
5 
6 class SCR_CapturePointAreaMeshComponent : SCR_BaseAreaMeshComponent
7 {
9 
10  //------------------------------------------------------------------------------------------------
11  override float GetRadius()
12  {
13  return m_SeizingComponent.GetRadius();
14  }
15 
16  //------------------------------------------------------------------------------------------------
17  override void EOnInit(IEntity owner)
18  {
20 
21  // This should only help with radius setup, do not show in play mode.
22  if (GetGame().InPlayMode())
23  return;
24 
25  if (!m_SeizingComponent)
26  {
27  Debug.Error2("SCR_CapturePointAreaMeshComponent", "SCR_SeizingComponent not found on owner entity!");
28  return;
29  }
30 
32  }
33 }
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
GetRadius
override float GetRadius()
Definition: SCR_CapturePointAreaMeshComponent.c:11
m_SeizingComponent
SCR_CapturePointAreaMeshComponentClass m_SeizingComponent
SCR_BaseAreaMeshComponentClass
Definition: SCR_BaseAreaMeshComponent.c:2
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
SCR_SeizingComponent
Definition: SCR_SeizingComponent.c:18
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition: SCR_FuelNode.c:128
EOnInit
override void EOnInit(IEntity owner)
Definition: SCR_CapturePointAreaMeshComponent.c:17
SCR_CapturePointAreaMeshComponentClass
Definition: SCR_CapturePointAreaMeshComponent.c:2
GenerateAreaMesh
void GenerateAreaMesh()
Generate area mesh based on its settings.
Definition: SCR_BaseAreaMeshComponent.c:128
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180