Arma 3 Scripting

deleteCollection

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

Description

Delete a collection. As example, used with a soldier, it'll hide the ingame model.

When targetting Arma 2 1.06 or newer, use hideObject instead. This function is a relic from dynamic building destruction development. It is left only for compatibility with scripts created before Arma 2 1.06, and its functionality may be changed or removed in the future.

Syntax

deleteCollection object

Parameters:

Returns: Nothing

Examples

Example 1

deleteCollection unitName;

See also

hideObject · hideObjectGlobal · isObjectHidden

Community notes