Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_SpawnPointSpawnData.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
2
class
SCR_SpawnPointSpawnData
:
SCR_SpawnData
3
{
4
protected
ResourceName m_Prefab;
5
protected
RplId m_RplId;
6
protected
SCR_SpawnPoint
m_SpawnPoint;
7
8
override
ResourceName GetPrefab()
9
{
10
return
m_Prefab
;
11
}
12
override
vector GetPosition()
13
{
14
return
m_SpawnPoint
.GetOrigin();
15
}
16
override
vector GetAngles()
17
{
18
return
m_SpawnPoint
.GetAngles();
19
}
20
21
RplId GetRplId()
22
{
23
return
m_RplId;
24
}
25
26
SCR_SpawnPoint
GetSpawnPoint()
27
{
28
return
m_SpawnPoint
;
29
}
30
31
void
SCR_SpawnPointSpawnData
(ResourceName prefab, RplId rplId)
32
{
33
m_Prefab
= prefab;
34
m_RplId = rplId;
35
m_SpawnPoint
=
SCR_SpawnPoint
.GetSpawnPointByRplId(rplId);
36
}
37
};
SCR_SpawnPoint
Spawn point entity defines positions on which players can possibly spawn.
Definition:
SCR_SpawnPoint.c:27
SCR_SpawnData
Definition:
SCR_SpawnData.c:9
SCR_SpawnPointSpawnData
Definition:
SCR_SpawnPointSpawnData.c:2
m_SpawnPoint
protected SCR_SpawnPoint m_SpawnPoint
Definition:
SCR_CampaignMobileAssemblyComponent.c:28
m_Prefab
ResourceName m_Prefab
Definition:
ForestGeneratorObjects.c:48
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Respawn
RequestHandling
Implementation
SpawnPointSpawn
SCR_SpawnPointSpawnData.c
Generated by
1.8.17