Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CustomAreaMeshComponent.c
Go to the documentation of this file.
1
[
ComponentEditorProps
(
category
:
"GameScripted/Area Mesh"
, description:
""
)]
2
class
SCR_CustomAreaMeshComponentClass
:
SCR_BaseAreaMeshComponentClass
3
{
4
}
5
6
class
SCR_CustomAreaMeshComponent : SCR_BaseAreaMeshComponent
7
{
8
[
Attribute
(
"1"
)]
9
protected
float
m_fRadius
;
10
11
//------------------------------------------------------------------------------------------------
12
override
float
GetRadius
()
13
{
14
return
m_fRadius
;
15
}
16
17
//------------------------------------------------------------------------------------------------
18
override
void
EOnInit
(IEntity owner)
19
{
20
GenerateAreaMesh
();
21
}
22
}
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
SCR_BaseAreaMeshComponentClass
Definition:
SCR_BaseAreaMeshComponent.c:2
Attribute
SCR_CustomAreaMeshComponentClass SCR_BaseAreaMeshComponentClass Attribute("1")
Definition:
SCR_CustomAreaMeshComponent.c:8
m_fRadius
float m_fRadius
Definition:
SCR_AITargetClusterState.c:30
EOnInit
override void EOnInit(IEntity owner)
Definition:
SCR_CustomAreaMeshComponent.c:18
GetRadius
float GetRadius()
Definition:
SCR_CampaignBuildingAreaMeshComponent.c:21
GenerateAreaMesh
void GenerateAreaMesh()
Generate area mesh based on its settings.
Definition:
SCR_BaseAreaMeshComponent.c:128
SCR_CustomAreaMeshComponentClass
Definition:
SCR_CustomAreaMeshComponent.c:2
category
params category
Definition:
SCR_VehicleDamageManagerComponent.c:180
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Components
AreaMesh
SCR_CustomAreaMeshComponent.c
Generated by
1.8.17