ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_SetResource

Sets the amount of resource type for a squad.

On this page
SGroup_SetResource(sgroup, resource, amount)

Description

If SGroup contains multiple squads, it will set for all

Parameters

  • sgroupSGroupIDrequired
  • resourceResourceTyperequired
  • amountIntegerrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/groups.scar