ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_FilterSpawned

Filters an sgroup on spawned/despawned status. Use FILTER_KEEP to keep the spawned units (therefore removing the despawned), or FILTER_REMOVE to remove the spawned units (and keep the despawned).

On this page
SGroup_FilterSpawned(sgroup, filtertype, splitSGroup)

Description

Filters an sgroup on spawned/despawned status. Use FILTER_KEEP to keep the spawned units (therefore removing the despawned), or FILTER_REMOVE to remove the spawned units (and keep the despawned).

Parameters

  • sgroupSGroupIDrequired
  • filtertypeIntegerrequired
  • splitSGroupSGroupIDoptional

Returns

Unknown

Source

Declared in the game's script sources at:

scar/groups.scar