Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
RespawnSystemComponent.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
12
class
RespawnSystemComponentClass
:
GameComponentClass
13
{
14
}
15
17
class
RespawnSystemComponent:
GameComponent
18
{
22
[
Obsolete
()]
23
proto external
GenericEntity
DoSpawn(
string
prefab, vector
position
, vector
rotation
=
"0 0 0"
);
24
25
// callbacks
26
31
event
protected
bool
OnRplSave
(ScriptBitWriter w) {
return
true
; };
36
event
protected
bool
OnRplLoad
(ScriptBitReader r) {
return
true
; };
41
event
void
OnInit
(IEntity owner);
43
event
GenericEntity
RequestSpawn
(
int
playerId) {
return
null
; };
44
}
45
GameComponentClass
Definition:
GameComponentClass.c:7
GenericEntity
SCR_GenericBoxEntityClass GenericEntity
RequestSpawn
event GenericEntity RequestSpawn(int playerId)
Called when some player controller requests respawn.
Definition:
RespawnSystemComponent.c:43
position
RespawnSystemComponentClass GameComponentClass vector position
Definition:
RespawnSystemComponent.c:23
rotation
RespawnSystemComponentClass GameComponentClass vector vector rotation
Definition:
RespawnSystemComponent.c:23
OnRplLoad
event protected bool OnRplLoad(ScriptBitReader r)
Definition:
RespawnSystemComponent.c:36
OnRplSave
event protected bool OnRplSave(ScriptBitWriter w)
Definition:
RespawnSystemComponent.c:31
RespawnSystemComponentClass
Definition:
RespawnSystemComponent.c:12
OnInit
override protected void OnInit(IEntity owner)
Definition:
SCR_CharacterCommandHandler_Tests.c:523
Obsolete
RespawnSystemComponentClass GameComponentClass Obsolete()] proto external GenericEntity DoSpawn(string prefab
RespawnSystemComponent should be attached to a gamemode to handle player spawning and respawning.
GameComponent
Definition:
GameComponent.c:12
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
generated
GameMode
RespawnSystemComponent.c
Generated by
1.8.17