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_PlayerRadioSpawnPointCampaign.c
Go to the documentation of this file.
1
[
EntityEditorProps
(
category
:
"GameScripted/GameMode"
, description:
""
)]
2
class
SCR_PlayerRadioSpawnPointCampaignClass
:
SCR_PlayerRadioSpawnPointClass
3
{
4
}
5
6
class
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
//------------------------------------------------------------------------------------------------
22
Faction
GetCachedFaction
()
23
{
24
return
m_CachedFaction;
25
}
26
27
//------------------------------------------------------------------------------------------------
29
void
ActivateSpawnPointPublic
()
30
{
31
super.ActivateSpawnPoint();
32
}
33
34
//------------------------------------------------------------------------------------------------
36
void
DeactivateSpawnPointPublic
()
37
{
38
super.DeactivateSpawnPoint();
39
}
40
}
OnItemAdded
void OnItemAdded(BaseInventoryStorageComponent storageOwner, IEntity item)
Definition
SCR_ArsenalInventoryStorageManagerComponent.c:56
SCR_CharacterRankComponent
void SCR_CharacterRankComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition
SCR_CharacterRankComponent.c:306
EntityEditorProps
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
Definition
SCR_CompassComponent.c:10
DeactivateSpawnPointPublic
void DeactivateSpawnPointPublic()
Definition
SCR_PlayerRadioSpawnPointCampaign.c:36
ActivateSpawnPointPublic
void ActivateSpawnPointPublic()
Definition
SCR_PlayerRadioSpawnPointCampaign.c:29
GetCachedFaction
Faction GetCachedFaction()
Definition
SCR_PlayerRadioSpawnPointCampaign.c:22
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
Faction
Definition
Faction.c:13
IEntity
Definition
IEntity.c:13
SCR_PlayerRadioSpawnPointCampaignClass
Definition
SCR_PlayerRadioSpawnPointCampaign.c:3
SCR_PlayerRadioSpawnPointClass
Definition
SCR_PlayerRadioSpawnPoint.c:3
scripts
Game
GameMode
Respawn
SCR_PlayerRadioSpawnPointCampaign.c
Generated by
1.17.0