Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PlayerRadioSpawnPointCampaign.c
Go to the documentation of this file.
1[EntityEditorProps(category: "GameScripted/GameMode", description: "")]
5
6class SCR_PlayerRadioSpawnPointCampaign : SCR_PlayerRadioSpawnPoint
7{
8 //------------------------------------------------------------------------------------------------
9 override void OnItemAdded(IEntity item,BaseInventoryStorageComponent storageOwner)
10 {
11 if (!storageOwner)
12 return;
13
14 if (SCR_CharacterRankComponent.GetCharacterRank(storageOwner.GetOwner()) == SCR_ECharacterRank.RENEGADE)
15 return;
16
17 super.OnItemAdded(item, storageOwner);
18 }
19
20 //------------------------------------------------------------------------------------------------
23 {
24 return m_CachedFaction;
25 }
26
27 //------------------------------------------------------------------------------------------------
30 {
31 super.ActivateSpawnPoint();
32 }
33
34 //------------------------------------------------------------------------------------------------
37 {
38 super.DeactivateSpawnPoint();
39 }
40}
void OnItemAdded(BaseInventoryStorageComponent storageOwner, IEntity item)
void SCR_CharacterRankComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
void DeactivateSpawnPointPublic()
void ActivateSpawnPointPublic()
Faction GetCachedFaction()