deleteCollection: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
m (Text replacement - ">Posted on August ([0-9]{2}), ([0-9]{4})" to ">Posted on $2-08-$1")
(3 intermediate revisions by the same user not shown)
Line 28: Line 28:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[deleteCollection]] unitName;</code>
|x1= <sqf>deleteCollection unitName;</sqf>


|seealso= [[hideObject]], [[hideObjectGlobal]], [[isObjectHidden]]
|seealso= [[hideObject]] [[hideObjectGlobal]] [[isObjectHidden]]
}}
}}


Line 37: Line 37:


<dt></dt>
<dt></dt>
<dd class="notedate">Posted on August 20, 2014 - 21:23 (UTC)</dd>
<dd class="notedate">Posted on 2014-08-20 - 21:23 (UTC)</dd>
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
<dd class="note">
<dd class="note">

Revision as of 23:59, 13 May 2023

Hover & click on the images for description

Description

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.
Groups:
Object Manipulation

Syntax

Syntax:
deleteCollection object
Parameters:
object: Object
Return Value:
Nothing

Examples

Example 1:
deleteCollection unitName;

Additional Information

See also:
hideObject hideObjectGlobal isObjectHidden

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note


Posted on 2014-08-20 - 21:23 (UTC)
Killzone Kid
In Arma 3 deleteCollection is alias for hideObject