deleteCollection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.00|Game version=
|1.00


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation


| Delete a collection. As example, used with a soldier, it'll hide the ingame model.
| 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.''|DESCRIPTION=
''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.''


| '''deleteCollection''' object|SYNTAX=
| '''deleteCollection''' object


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


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


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


|[[hideObject]], [[hideObjectGlobal]], [[isObjectHidden]] |SEEALSO=
|[[hideObject]], [[hideObjectGlobal]], [[isObjectHidden]]


}}
}}

Revision as of 00:29, 18 January 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

Bottom Section

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