deleteCollection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
(65 intermediate revisions by 16 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|DELETECOLLECTION]]
{{RV|type=command
[[Category:Scripting Commands ArmA|DELETECOLLECTION]]


|game1= arma1
|version1= 1.00


|game2= arma2
|version2= 1.00


<h2 style="color:#000066"> ''''' deleteCollection ''''' ''object''</h2>
|game3= arma2oa
|version3= 1.50


|game4= tkoh
|version4= 1.00


'''Operand types:'''
|game5= arma3
|version5= 0.50


'''object''': [[Object]]
|gr1= Object Manipulation


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


'''Type of returned value:'''
''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.''


[[Nothing]]
|s1= [[deleteCollection]] object


'''Compatibility:'''
|p1= object: [[Object]]


Version 2.90 required.
|r1= [[Nothing]]


'''Description:'''
|x1= <sqf>deleteCollection unitName;</sqf>


Delete a collection.
|seealso= [[hideObject]] [[hideObjectGlobal]] [[isObjectHidden]]
}}
 
 
<dl class="command_description">
 
<dt></dt>
<dd class="notedate">Posted on 2014-08-20 - 21:23 (UTC)</dd>
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]]</dt>
<dd class="note">
In Arma 3 [[deleteCollection]] is alias for [[hideObject]]
</dd>
 
</dl>

Latest revision as of 14:48, 12 March 2024

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