Skip to content

Support Functions

Even though all necessary functionalities are available either via Faction Subsystem or the member's Faction Component, some helper functions are available through the Faction Function Library.

These are implemented in the NinjaFactionFunctionLibrary class and you can use these functions either in your Blueprints or C++ code.

Available Functions

Function Description
GetFactionComponent Retrieves the Faction Component from an Actor.
GetMainFaction Retrieves the Main Faction from an Actor.
GetMainTeamId Retrieves the Team ID from a Faction Component.