ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_FilterThreat

Searches an SGroup and finds the first threat within the table (searching first to last) and removes all other SBPs.

On this page
SGroup_FilterThreat(sgroup, tableSBPs, bEmpty)

Description

Optional parameter bEmpty can be set to true, will clear the SGroup if none of the SBPS in the table are found.

Parameters

  • sgroupSGroupIDrequired
  • tableSBPsLuaTablerequired
  • bEmptyBooleanoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/groups.scar