ScarDoc

Start typing to search the SCAR reference.

Function
Squad

Squad_HasBlueprint

Checks whether a squad is of any of the Blueprints or SquadTypes specified.

On this page
Squad_HasBlueprint(squad, blueprints)

Description

Blueprint can be a single Blueprint, a single SquadType, or a table of multiple Blueprints or SquadTypes. If you want to see if a squad has ALL of a set of SquadTypes, then wrap them all in a sub-table.

Parameters

  • squadSquadIDrequired
  • blueprintsSBP/SquadType/Tablerequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/squad.scar