{"name":"isGroupDeletedWhenEmpty","operator":null,"title":"isGroupDeletedWhenEmpty","type":"command","url":"https://community.bistudio.com/wiki/isGroupDeletedWhenEmpty","revid":364533,"updated":"2024-05-16T20:46:45Z","groups":["Groups"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.68"}],"since":{"game":"arma3","name":"Arma 3","version":"1.68"},"arma3_since":"1.68","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Checks if the given group marked for auto-deletion when empty. See deleteGroupWhenEmpty.\n\n> [!NOTE]\n> It might take up to a minute for the groups marked for auto-deletion when empty to get deleted when they become empty.\n\n> [!IMPORTANT]\n> 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.","syntaxes":[{"syntax":"isGroupDeletedWhenEmpty group","since":null,"effect":null,"exec":null,"params":[{"name":"group","type":"Group","optional":false,"default":null,"description":null,"types":["Group"],"since":null,"text":"group: Group"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true the group is marked for auto-deletion when empty","text":"Boolean - true the group is marked for auto-deletion when empty"},"form":"unary","operator":null,"left":null,"right":{"text":"group","types":["Group"]}}],"examples":[{"text":"```sqf\n_isMarked = isGroupDeletedWhenEmpty _group;\n```","code":["_isMarked = isGroupDeletedWhenEmpty _group;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["deleteGroup","deleteGroupWhenEmpty","createGroup","group","setGroupId","groupID","units","groupFromNetId","netId","leader","selectLeader","join","createCenter","createUnit","createVehicle","Side"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Groups","Introduced with Arma 3 version 1.68","Scripting Commands"]}