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
sgroupSGroupIDrequiredresourceResourceTyperequiredamountIntegerrequired
Returns
VoidSource
Declared in the game's script sources at:
scar/groups.scar