ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_GetAvgLoadout

Returns the average loadout of all squads in a group as a percent [0.0, 1.0].

On this page
SGroup_GetAvgLoadout(sgroup)

Description

Example: A group of squads with loadouts of 4/8 and 1/1 would return 0.75

Parameters

  • sgroupSGrouprequired

Returns

Real

Source

Declared in the game's script sources at:

scar/groups.scar