Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_PrefabSpawnPoint.c
Go to the documentation of this file.
1
[
EntityEditorProps
(style:
"cylinder"
,
category
:
"GameScripted/GameMode/PrefabsSpawn"
, description:
"Prefab Spawn Point Entity"
, sizeMin:
"-0.25 0 -0.25"
, color:
"64 0 64 255"
)]
2
class
SCR_PrefabSpawnPointClass
: GenericEntityClass
3
{
4
}
5
7
class
SCR_PrefabSpawnPoint
:
GenericEntity
8
{
9
[
Attribute
(
"0"
,
UIWidgets
.EditComboBox,
"Defines which spawner uses this Spawn Point"
,
""
, ParamEnumArray.FromEnum(
EPrefabSpawnType
) )]
10
protected
EPrefabSpawnType
m_eType
;
11
12
[
Attribute
(
"0"
,
UIWidgets
.CheckBox,
"Should be SP snaped in script to ground? -- GetWorld().GetSurfaceY()"
,
""
, ParamEnumArray.FromEnum(
EPrefabSpawnType
) )]
13
protected
bool
m_bSnapToGroud
;
// grouNd
14
15
//------------------------------------------------------------------------------------------------
17
EPrefabSpawnType
GetType
()
18
{
19
return
m_eType
;
20
}
21
22
//------------------------------------------------------------------------------------------------
23
[
Obsolete
(
"Please use ShouldSnapToGround()"
)]
24
bool
ShouldSnapToGroud
()
25
{
26
return
ShouldSnapToGround
();
27
}
28
29
//------------------------------------------------------------------------------------------------
31
bool
ShouldSnapToGround
()
32
{
33
return
m_bSnapToGroud
;
34
}
35
36
//------------------------------------------------------------------------------------------------
37
// constructor
40
void
SCR_PrefabSpawnPoint
(
IEntitySource
src,
IEntity
parent)
41
{
42
#ifdef WORKBENCH
43
SetFlags(
EntityFlags
.TRACEABLE,
false
);
44
#else
45
SetFlags(
EntityFlags
.NO_LINK,
false
);
46
#endif
47
SCR_PrefabsSpawnerManager
.RegisterPrefabSpawnPoint(
this
);
48
}
49
50
//------------------------------------------------------------------------------------------------
51
// destructor
52
void
~SCR_PrefabSpawnPoint
()
53
{
54
SCR_PrefabsSpawnerManager
.UnregisterPrefabSpawnPoint(
this
);
55
}
56
}
GetType
override EGadgetType GetType()
Definition
SCR_CampaignBuildingGadgetToolComponent.c:60
m_eType
SCR_ECampaignBaseType m_eType
Definition
SCR_CampaignMilitaryBaseComponent.c:22
EntityEditorProps
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
Definition
SCR_CompassComponent.c:10
ShouldSnapToGround
bool ShouldSnapToGround()
Definition
SCR_PrefabSpawnPoint.c:31
~SCR_PrefabSpawnPoint
void ~SCR_PrefabSpawnPoint()
Definition
SCR_PrefabSpawnPoint.c:52
ShouldSnapToGroud
bool ShouldSnapToGroud()
Definition
SCR_PrefabSpawnPoint.c:24
SCR_PrefabSpawnPoint
void SCR_PrefabSpawnPoint(IEntitySource src, IEntity parent)
Definition
SCR_PrefabSpawnPoint.c:40
m_bSnapToGroud
bool m_bSnapToGroud
Definition
SCR_PrefabSpawnPoint.c:13
EPrefabSpawnType
EPrefabSpawnType
Definition
SCR_PrefabsSpawnerManager.c:2
SCR_PrefabsSpawnerManager
void SCR_PrefabsSpawnerManager(IEntitySource src, IEntity parent)
Definition
SCR_PrefabsSpawnerManager.c:79
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
GenericEntity
Definition
GenericEntity.c:16
IEntity
Definition
IEntity.c:13
IEntitySource
Definition
IEntitySource.c:13
SCR_PrefabSpawnPointClass
Definition
SCR_PrefabSpawnPoint.c:3
UIWidgets
Definition
attributes.c:40
Obsolete
typedef Obsolete
Definition
HelicopterAutopilotHelperComponent.c:16
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
EntityFlags
EntityFlags
Various entity flags.
Definition
EntityFlags.c:14
scripts
Game
GameMode
PrefabsSpawning
SCR_PrefabSpawnPoint.c
Generated by
1.17.0