ScarDoc

Start typing to search the SCAR reference.

Function
EGroup

EGroup_Single

Creates an entity group containing a single entity

On this page
EGroup_Single(egroup, entity)

Description

Creates an EGroup containing just one entity, creating the group if it doesn't exist and clearing it if it does. It returns the name of the EGroup.

Parameters

  • egroupEGroupIDrequired
  • entityEntityIDrequired

Returns

EGroupID

Source

Declared in the game's script sources at:

scar/groups.scar