deleteCollection: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
Line 28: | Line 28: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>deleteCollection unitName;</sqf> | ||
|seealso= [[hideObject]] [[hideObjectGlobal]] [[isObjectHidden]] | |seealso= [[hideObject]] [[hideObjectGlobal]] [[isObjectHidden]] |
Revision as of 13:17, 5 May 2022
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 August 20, 2014 - 21:23 (UTC)
- Killzone Kid
- In Arma 3 deleteCollection is alias for hideObject
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Object Manipulation