Arma 3 Scripting

Command in Object Manipulation

deleteCollection

Also available as Markdown and JSON, or read the 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