ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_Grab

Grabs the selected squads/entities and returns them in a group. Only works with -dev.

On this page
Util_Grab(subselect)

Description

Tries to return an SGroup first. If it's empty, it will return an EGroup. (Both types can't be selected at the same time)

Parameters

  • subselectBooleanrequired

Returns

Sgroup/EgroupSgroup/Egroup Group containing selection

Source

Declared in the game's script sources at:

scar/scarutil.scar