deleteGroupWhenEmpty: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">") |
||
Line 29: | Line 29: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | |||
<dd class="notedate">Posted on February 8, 2018 - 22:01 (UTC)</dd> | <dd class="notedate">Posted on February 8, 2018 - 22:01 (UTC)</dd> | ||
<dt class="note">[[User:Wyqer|Wyqer]]</dt> | <dt class="note">[[User:Wyqer|Wyqer]]</dt> |
Revision as of 18:42, 5 April 2021
Description
- Description:
- Description needed
- Groups:
- Groups
Syntax
- Syntax:
- Syntax needed
- Parameters:
- group: Group
- delete: Boolean - true to mark for auto-deletion
- Return Value:
- Return value needed
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
- Posted on February 8, 2018 - 22:01 (UTC)
- Wyqer
-
It seems, that the argument has to be local (like for deleteGroup).
So if you run it on a server and the group isn't local to the server this wouldn't work:
_group deleteGroupWhenEmpty true;
But this would work:if (local _group) then { _group deleteGroupWhenEmpty true; } else { [_group, true] remoteExec ["deleteGroupWhenEmpty", groupOwner _group]; };