ScarDoc

Start typing to search the SCAR reference.

Function
Player

Player_GetEntitiesFromType

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

On this page
Player_GetEntitiesFromType(player, unitType)

Description

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

Parameters

  • playerPlayerIDrequired
  • unitTypeStringrequired

Returns

EGroup

Source

Declared in the game's script sources at:

scar/player.scar