deleteCollection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma1 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma1 |version1= $1 |game2")
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
Line 33: Line 33:
}}
}}


{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}


<dl class="command_description">
<dl class="command_description">

Revision as of 23:32, 16 June 2021

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:
hideObjecthideObjectGlobalisObjectHidden

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 August 20, 2014 - 21:23 (UTC)
Killzone Kid
In Arma 3 deleteCollection is alias for hideObject