isGroupDeletedWhenEmpty: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
No edit summary
Line 7: Line 7:


|descr= Checks if the given group marked for auto-deletion when empty. See [[deleteGroupWhenEmpty]].
|descr= Checks if the given group marked for auto-deletion when empty. See [[deleteGroupWhenEmpty]].
{{Feature | Informative | It might take up to a minute for the groups marked for auto-deletion when empty to get deleted when they become empty.}}
{{Feature | Important | This command is only a getter for the deleteWhenEmpty flag in [[createGroup]] command or [[deleteGroupWhenEmpty]] command. All it goes is it shows what the flag was set to during group creation. [[true]] doesn't mean the group will be 100% deleted but that it was suggested to the engine it should be deleted. It is up to the engine how it manages groups. [[false]] - doesn't mean that group will not be deleted AT ALL. It has no influence on the engine functionality whatsoever }}


|s1= [[isGroupDeletedWhenEmpty]] group
|s1= [[isGroupDeletedWhenEmpty]] group

Revision as of 10:05, 27 October 2021

Hover & click on the images for description

Description

Description:
Checks if the given group marked for auto-deletion when empty. See deleteGroupWhenEmpty.
It might take up to a minute for the groups marked for auto-deletion when empty to get deleted when they become empty.
This command is only a getter for the deleteWhenEmpty flag in createGroup command or deleteGroupWhenEmpty command. All it goes is it shows what the flag was set to during group creation. true doesn't mean the group will be 100% deleted but that it was suggested to the engine it should be deleted. It is up to the engine how it manages groups. false - doesn't mean that group will not be deleted AT ALL. It has no influence on the engine functionality whatsoever
Groups:
Groups

Syntax

Syntax:
isGroupDeletedWhenEmpty group
Parameters:
group: Group
Return Value:
Boolean - true the group is marked for auto-deletion when empty

Examples

Example 1:
_isMarked = isGroupDeletedWhenEmpty _group;

Additional Information

See also:
deleteGroupdeleteGroupWhenEmptycreateGroupgroupsetGroupIdgroupIDunitsgroupFromNetIdnetIdleaderselectLeaderjoincreateCentercreateUnitcreateVehicleSide

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