Arma 3 Scripting

Command in Groups

isGroupDeletedWhenEmpty

Also available as Markdown and JSON, or read the original wiki page.

Description

Checks if the given group marked for auto-deletion when empty. See deleteGroupWhenEmpty.

Note

It might take up to a minute for the groups marked for auto-deletion when empty to get deleted when they become empty.

Important

This command is only a getter for the deleteWhenEmpty flag in createGroup command or deleteGroupWhenEmpty command. All it does is it shows what the flag was set to during group creation. True does not mean the group will be deleted but that it was suggested to the engine that it should be deleted. It is up to the engine how it manages groups. False does not mean that the group will not be deleted at all. It has no influence on the engine functionality whatsoever.

Syntax

isGroupDeletedWhenEmpty group

Parameters:

Returns: Boolean - true the group is marked for auto-deletion when empty

Examples

Example 1

_isMarked = isGroupDeletedWhenEmpty _group;

See also

deleteGroup · deleteGroupWhenEmpty · createGroup · group · setGroupId · groupID · units · groupFromNetId · netId · leader · selectLeader · join · createCenter · createUnit · createVehicle · Side