isGroupDeletedWhenEmpty: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature | Important | " to "{{Feature|important|") |
||
(11 intermediate revisions by the same user not shown) | |||
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 | | {{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 | | {{Feature|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|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|False]] does not mean that the group will not be deleted '''at all'''. It has no influence on the engine functionality whatsoever. }} | ||
Line 17: | Line 17: | ||
|r1= [[Boolean]] - [[true]] the group is marked for auto-deletion when empty | |r1= [[Boolean]] - [[true]] the group is marked for auto-deletion when empty | ||
|x1= < | |x1= <sqf>_isMarked = isGroupDeletedWhenEmpty _group;</sqf> | ||
|seealso= [[deleteGroup]] [[deleteGroupWhenEmpty]] [[createGroup]] [[group]] [[setGroupId]] [[groupID]] [[units]] | |seealso= [[deleteGroup]] [[deleteGroupWhenEmpty]] [[createGroup]] [[group]] [[setGroupId]] [[groupID]] [[units]] [[groupFromNetId]] [[netId]] [[leader]] [[selectLeader]] [[join]] [[createCenter]] [[createUnit]] [[createVehicle]] [[Side]] | ||
}} | }} |
Latest revision as of 21:46, 16 May 2024
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:
Additional Information
- See also:
- deleteGroup deleteGroupWhenEmpty createGroup group setGroupId groupID units groupFromNetId netId leader selectLeader join createCenter createUnit createVehicle Side
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