Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ScriptedFaction Interface Reference
Inheritance diagram for ScriptedFaction:
[legend]

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: