ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_AddResource

Adds the amount of resource type for a squad.

On this page
SGroup_AddResource(sgroup, resource, amount)

Description

If SGroup contains multiple squads, it will add for all

Parameters

  • sgroupSGroupIDrequired
  • resourceResourceTyperequired
  • amountIntegerrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/groups.scar