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