ScarDoc

Start typing to search the SCAR reference.

Function
Team

Team_GetEntitiesFromType

Returns an EGroup containing all of the teams entities of a specific unit_type (as defined by the type_ext on the entity)

On this page
Team_GetEntitiesFromType(team, unitType)

Description

This function returns a new EGroup to allow tracking of different types.

Parameters

  • teamTeamIDrequired
  • unitTypeStringrequired

Returns

EGroup

Source

Declared in the game's script sources at:

scar/team.scar