ScarDoc

Start typing to search the SCAR reference.

Function
EGroup

EGroup_IsCapturedByPlayer

Returns true if all or any strategic points in a group have been captured. Use ANY or ALL.

On this page
EGroup_IsCapturedByPlayer(egroup, playerId, all)

Description

This function will ignore all entities that cannot be captured and will return false if no entities in the group can be captured.

Parameters

  • egroupEGroupIDrequired
  • playerIdPlayerIDrequired
  • allBooleanrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/groups.scar