Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_FactionPlayerTriggerEntity.c
Go to the documentation of this file.
1
[
EntityEditorProps
(
category
:
"GameScripted/Misc"
, description:
""
)]
2
class
SCR_FactionPlayerTriggerEntityClass
:
SCR_BaseFactionTriggerEntityClass
3
{
4
};
5
class
SCR_FactionPlayerTriggerEntity
:
SCR_BaseFactionTriggerEntity
6
{
7
protected
SCR_PlayerController
m_PlayerController;
8
9
override
bool
ScriptedEntityFilterForQuery(IEntity ent)
10
{
11
if
(!super.ScriptedEntityFilterForQuery(ent) || !
IsAlive
(ent))
12
return
false
;
13
14
return
SCR_PossessingManagerComponent.GetPlayerIdFromMainEntity(ent) > 0;
15
}
16
override
protected
void
EOnInit(IEntity owner)
17
{
18
super.EOnInit(owner);
19
20
m_PlayerController
=
SCR_PlayerController
.Cast(
GetGame
().
GetPlayerController
());
21
}
22
};
SCR_PlayerController
Definition:
SCR_PlayerController.c:31
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition:
SCR_AmbientSoundsComponent.c:12
SCR_BaseFactionTriggerEntity
Definition:
SCR_BaseFactionTriggerEntity.c:5
GetGame
ArmaReforgerScripted GetGame()
Definition:
game.c:1424
IsAlive
bool IsAlive()
Definition:
SpectateTargetComponent.c:23
GetPlayerController
proto external PlayerController GetPlayerController()
Definition:
SCR_PlayerDeployMenuHandlerComponent.c:307
SCR_BaseFactionTriggerEntityClass
Definition:
SCR_BaseFactionTriggerEntity.c:2
SCR_FactionPlayerTriggerEntityClass
Definition:
SCR_FactionPlayerTriggerEntity.c:2
m_PlayerController
SCR_CampaignNetworkComponentClass m_PlayerController
Takes care of Campaign-specific server <> client communication and requests.
SCR_FactionPlayerTriggerEntity
Definition:
SCR_FactionPlayerTriggerEntity.c:5
category
params category
Definition:
SCR_VehicleDamageManagerComponent.c:180
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Entities
Triggers
SCR_FactionPlayerTriggerEntity.c
Generated by
1.8.17