Arma Reforger Script API
Loading...
Searching...
No Matches
ScriptedFaction Interface Reference
Inheritance diagram for ScriptedFaction:
Faction SCR_Faction SCR_CampaignFaction SCR_Faction_BIKI SCR_FreeForAllFaction

Public Member Functions

void Init (IEntity owner)
 Called when faction is initialized.
 
bool DoCheckIfFactionFriendly (Faction faction)
 
- Public Member Functions inherited from Faction
proto external FactionIdentity GetFactionIdentity ()
 
proto external bool IsFactionFriendly (Faction otherFaction)
 Returns true if this faction and other faction are friendly.
 
proto external bool IsFactionEnemy (Faction otherFaction)
 Returns true if this faction and other faction are hostile.
 
proto external string GetFactionName ()
 Returns the name of this faction for via this Faction's UI Info.
 
proto external FactionKey GetFactionKey ()
 Returns the identifier of this faction specified in FactionManager.
 
proto ref Color GetFactionColor ()
 Returns the color of this faction specified in FactionManager.
 
proto external UIInfo GetUIInfo ()
 Returns the UI info of this faction.
 

Member Function Documentation

◆ DoCheckIfFactionFriendly()

bool ScriptedFaction.DoCheckIfFactionFriendly ( Faction faction)

Implemented in SCR_Faction, and SCR_FreeForAllFaction.

◆ Init()

void ScriptedFaction.Init ( IEntity owner)

Called when faction is initialized.

Implemented in SCR_Faction.


The documentation for this interface was generated from the following file: