ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_DespawnAll

ReSpawns or DeSpawns sgroups (and egroups) for all players or the indicated player.

On this page
Util_DespawnAll(despawn, allPlayers, Int playerNum], egroups)

Description

examples: Util_DespawnAll(true, true, false) or Util_DespawnAll(true, 1, false) or Util_DespawnAll(false, true, false)

Parameters

  • despawnBooleanrequired
  • allPlayersBooleanrequired
  • Int playerNum]oroptional
  • egroupsBooleanoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/scarutil.scar