Description
Assigns a player to a named custom faction independent of their matchmaking team. Players in the same faction are treated as allies for the purposes of healing, line-of-sight checks, and HUD indicators, regardless of their original team assignment. Useful for free-for-all modes with shifting alliances.
Snippet
Set Player Faction(Event Player, Custom String("Alpha"));
Properties
Returns: Void
Parameters: Player, Faction Name
Player
Type: Player, Default: Event Player
The player to assign to the faction.Faction Name
Type: String, Default: Null
The name of the faction to assign the player to. Players sharing this string value are treated as allies. Pass Null to clear the player's faction and revert to their original team alignment.