ScarDoc

Start typing to search the SCAR reference.

Function
EGroup

EGroup_FilterUnderConstruction

Filters an EGroup by construction status. Set the filtertype to FILTER_REMOVE to remove buildings under construction.

On this page
EGroup_FilterUnderConstruction(egroup, filtertype)

Description

Setting filtertype to FILTER_KEEP results in the group only containing those entities that are in the process of being built.

Parameters

  • egroupEGroupIDrequired
  • filtertypeIntegerrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/groups.scar