isGroupDeletedWhenEmpty: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Groups |GROUP1=
|gr1= Groups |GROUP1=
____________________________________________________________________________________________


| Checks if the given group marked for auto-deletion when empty. See [[deleteGroupWhenEmpty]].|=
| Checks if the given group marked for auto-deletion when empty. See [[deleteGroupWhenEmpty]].|=
____________________________________________________________________________________________


| '''isGroupDeletedWhenEmpty''' group |SYNTAX=
| '''isGroupDeletedWhenEmpty''' group |SYNTAX=
Line 18: Line 15:
| [[Boolean]] - [[true]] the group is marked for auto-deletion when empty  |RETURNVALUE=
| [[Boolean]] - [[true]] the group is marked for auto-deletion when empty  |RETURNVALUE=


____________________________________________________________________________________________
   
   
|x1= <code>_isMarked = [[isGroupDeletedWhenEmpty]] _group;</code> |EXAMPLE1=
|x1= <code>_isMarked = [[isGroupDeletedWhenEmpty]] _group;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[deleteGroup]], [[deleteGroupWhenEmpty]], [[createGroup]], [[group]], [[setGroupId]], [[groupID]], [[units]], [[groupFromNetId]], [[netId]], [[leader]], [[selectLeader]], [[join]], [[createCenter]], [[createUnit]], [[createVehicle]], [[Side]] |SEEALSO=
| [[deleteGroup]], [[deleteGroupWhenEmpty]], [[createGroup]], [[group]], [[setGroupId]], [[groupID]], [[units]], [[groupFromNetId]], [[netId]], [[leader]], [[selectLeader]], [[join]], [[createCenter]], [[createUnit]], [[createVehicle]], [[Side]] |SEEALSO=

Revision as of 01:39, 17 January 2021

Hover & click on the images for description

Description

Description:
Checks if the given group marked for auto-deletion when empty. See deleteGroupWhenEmpty.
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

Notes

Bottom Section