deleteCollection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
(43 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|version1= 1.00


|1.00|= Game version
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| Delete a collection. As example, used with a soldier, it'll hide the ingame model.
|game3= arma2oa
|version3= 1.50


''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.''|= Description
|game4= tkoh
____________________________________________________________________________________________
|version4= 1.00


| '''deleteCollection''' object|= Syntax
|game5= arma3
|version5= 0.50


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


| [[Nothing]] |= Return value
|descr= Delete a collection. As example, used with a soldier, it'll hide the ingame model.
____________________________________________________________________________________________


|x1= <code>[[deleteCollection]] unitName; </code>|= Example 1
''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.''
____________________________________________________________________________________________


|[[hideObject]], [[hideObjectGlobal]], [[isObjectHidden]]  |= See also
|s1= [[deleteCollection]] object


}}
|p1= object: [[Object]]


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>deleteCollection unitName;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[hideObject]] [[hideObjectGlobal]] [[isObjectHidden]]
}}


[[Category:Scripting Commands|DELETECOLLECTION]]
[[Category:Scripting Commands ArmA|DELETECOLLECTION]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unknown|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dd class="notedate">Posted on August 20, 2014 - 21:23 (UTC)</dd>
 
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
<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">
<dd class="note">
In Arma 3 [[deleteCollection]] is alias for [[hideObject]]
In Arma 3 [[deleteCollection]] is alias for [[hideObject]]
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

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