ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_HidePlayerForNIS

Hides all of a player's squads and/or buildings

On this page
Util_HidePlayerForNIS(player, hide)

Description

Doesn't hide buildings a player is in, or any base structures. Only items like sandbags, tanktraps, mg nests, etc. Put multiple playerIDs in a table to hide many players together, or use ALL for the playerID to apply to all players at once.

Parameters

  • playerPlayerIDrequired
  • hideBooleanrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/scarutil.scar