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_TutorialSpawnLogic.c
Go to the documentation of this file.
1
[
BaseContainerProps
(
category
:
"Respawn"
)]
2
class
SCR_TutorialSpawnLogic
: SCR_SpawnLogic
3
{
4
protected
Identity
m_PlayerIdentity
;
5
6
override
void
OnPlayerSpawned_S
(
int
playerId,
IEntity
entity)
7
{
8
SCR_CharacterIdentityComponent identityComp = SCR_CharacterIdentityComponent.Cast(entity.
FindComponent
(SCR_CharacterIdentityComponent));
9
if
(identityComp)
10
{
11
if
(!
m_PlayerIdentity
)
12
m_PlayerIdentity
= identityComp.GetIdentity();
13
else
14
identityComp.SetIdentity(
m_PlayerIdentity
);
15
}
16
}
17
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
IEntity
Definition
IEntity.c:13
IEntity::FindComponent
proto external Managed FindComponent(typename typeName)
Identity
Definition
Identity.c:13
SCR_TutorialSpawnLogic
Definition
SCR_TutorialSpawnLogic.c:3
SCR_TutorialSpawnLogic::m_PlayerIdentity
Identity m_PlayerIdentity
Definition
SCR_TutorialSpawnLogic.c:4
SCR_TutorialSpawnLogic::OnPlayerSpawned_S
override void OnPlayerSpawned_S(int playerId, IEntity entity)
Definition
SCR_TutorialSpawnLogic.c:6
scripts
Game
Respawn
Logic
SCR_TutorialSpawnLogic.c
Generated by
1.17.0