GetFactionMembers

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the array of all BaseForm members of a specified Faction, optionally filtered by Rank.

Syntax

[help]
(array:actorBase) GetFactionMembers faction:ref rank:int

Example

let aKnights := GetFactionMembers BrotherhoodSteelFaction 1 // returns the array of Brotherhood of Steel knights