Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
FactionAffiliationComponent.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
15
16class FactionAffiliationComponent: GameComponent
17{
19 proto external IEntity GetOwner();
21 proto external Faction GetAffiliatedFaction();
28 proto external void SetAffiliatedFaction(Faction faction);
34 proto external void SetAffiliatedFactionByKey(FactionKey factionKey);
37
38 // callbacks
39
44 event protected void OnPostInit(IEntity owner);
45 event protected void OnCompartmentEntering(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move);
46 event protected void OnCompartmentEntered(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move);
47 event protected void OnCompartmentLeft(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move);
48 event protected void OnFactionChanged(Faction previous, Faction current);
49}
50
void OnCompartmentEntered(AIAgent agent, IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move)
void OnCompartmentLeft(AIAgent agent, IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move)
IEntity GetOwner()
Owner entity of the fuel tank.
proto external void SetAffiliatedFaction(Faction faction)
proto external void SetAffiliatedFactionByKey(FactionKey factionKey)
SCR_CampaignFaction GetAffiliatedFaction()
Returns the affiliated faction or null if none.
proto external FactionKey GetDefaultFactionKey()
void OnCompartmentEntering(IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move)
proto external Faction GetDefaultAffiliatedFaction()
Returns the default affiliated faction or null if none.
proto external FactionKey GetAffiliatedFactionKey()