Arma Reforger Script API
|
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. | |
bool ScriptedFaction.DoCheckIfFactionFriendly | ( | Faction | faction | ) |
Implemented in SCR_Faction, and SCR_FreeForAllFaction.
void ScriptedFaction.Init | ( | IEntity | owner | ) |
Called when faction is initialized.
Implemented in SCR_Faction.