deleteGroupWhenEmpty

From Bohemia Interactive Community
Revision as of 15:05, 17 March 2017 by Shukari (talk | contribs) (update)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Marks given group for auto-deletion when group is empty. true will mark the group for auto-deletion, however false will only unmark the group that was marked previously. There are other engine group auto-deletion mechanisms in place, which are not affected by this.

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

Syntax

Syntax:
group deleteGroupWhenEmpty delete
Parameters:
group: Group
delete: Boolean - true to mark for auto-deletion
Return Value:
Nothing

Examples

Example 1:
_group deleteGroupWhenEmpty true;

Additional Information

See also:
deleteGroupisGroupDeletedWhenEmptycreateGroupgroupsetGroupIdgroupIDunitsgroupFromNetIdnetIdleaderselectLeaderjoincreateCentercreateUnitcreateVehicleSide

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

Notes

Bottom Section