Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_TutorialSpawnLogic.c
Go to the documentation of this file.
2class SCR_TutorialSpawnLogic : SCR_SpawnLogic
3{
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 {
12 m_PlayerIdentity = identityComp.GetIdentity();
13 else
14 identityComp.SetIdentity(m_PlayerIdentity);
15 }
16 }
17}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
proto external Managed FindComponent(typename typeName)
override void OnPlayerSpawned_S(int playerId, IEntity entity)