Function
BP
BP_GetSquadBlueprintsWithType
Get a table of all of the SBPs that match a particular SquadType. You can pass in a table of multiple SquadTypes to get a list SBPs that match ANY of the types listed.
On this page
BP_GetSquadBlueprintsWithType(types)Description
If you want a blueprint to match a bunch of SquadTypes at the same time (i.e. AND instead of OR) then those types should be listed together in a sub-table. This function can potentially be quite slow as it has to parse every SBP in the game, so be careful about how you use it.
Parameters
typesSquadType/Tablerequired
Returns
TableOfSBPsSource
Declared in the game's script sources at:
scar/blueprints.scar