deleteGroup
Jump to navigation
Jump to search
Description
- Description:
- Destroys the given group - the group must be empty and local to the machine executing this command.
- Groups:
- Groups
Syntax
- Syntax:
- deleteGroup group
- Parameters:
- group: Group
- Return Value:
- Nothing
Examples
- Example 1:
- deleteGroup _group;
- Example 2:
Additional Information
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 Dec 17, 2006 - 00:34 (UTC)
- The deleteGroup Command does not work when there are living members of in the group. It doesn't error, it simply doesn't do anything.
- Posted on Jul 10, 2007 - 07:50 (UTC)
- Living or not doesn't matter - you can't delete the group while it contains any units - even dead ones. It takes few seconds until a dead unit is automatically removed from its group.
- Posted on Sep 12, 2013 - 03:54 (UTC)
- deleteGroup will only delete local groups even if called by server. Say we have a situation where client creates a group and puts a unit there and later unit dies/gets deleted, server will not be able to delete that empty group until client leaves the game and group ownership switches to server.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Elite version 1.00
- Operation Flashpoint: Elite: New Scripting Commands
- Operation Flashpoint: Elite: 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: Groups
- Scripting Commands: Global Effect