ScarDoc

Start typing to search the SCAR reference.

Function
Squad

Squad_IsInCover

Returns true if ALL or ANY troopers in a squad are in cover.

On this page
Squad_IsInCover(squadId, all)

Description

Set all to true to check if all troopers are in cover or set to false to check if any.

Parameters

  • squadIdSquadIDrequired
  • allBooleanrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/squad.scar