ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_GetResource

Gets the amount of resource type for a squad.

On this page
SGroup_GetResource(sgroup, resource)

Description

If SGroup contains multiple squads, it will be the total of all

Parameters

  • sgroupSGroupIDrequired
  • resourceResourceTyperequired

Returns

Float

Source

Declared in the game's script sources at:

scar/groups.scar