ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_HasEntityUpgrade

Returns true if ANY or ALL of the squad's entities have the specified upgrade

On this page
SGroup_HasEntityUpgrade(egroup, upgrade, all)

Description

Returns true if ANY or ALL of the squad's entities have the specified upgrade

Parameters

  • egroupEGroupIDrequired
  • upgradeUpgradeIDrequired
  • allBooleanrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/groups.scar