Workshop.codes
Create

Players In Faction Last updated April 29, 2026

Description

Returns an array of all players currently assigned to a named faction via Set Player Faction. The array is empty if no players belong to the specified faction. Useful for iterating over faction members or evaluating faction size.

Snippet

Players In Faction(Custom String("Alpha"));

Properties

Returns: Array
Parameters: Faction Name

Faction Name
Type: String, Default: None
The faction identifier whose members will be returned.

Workshop.codes