Page MenuHomeFeedback Tracker

deleteGroup <array> , deleteMarker <array>
New, NormalPublic

Description

Often in missions we are iterating through groups for cleanup

code like

{deleteGroup _x} forEach (allGroups select {*conditions});

would be handy to have this forEach iteration done internally so we can just

deleteGroup (allGroups select {*conditions});

As well with map markers

deleteMarker allMapMarkers

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Related Objects

StatusAssignedTask
NewNone

Event Timeline

This is being added in 2.16 for deleteVehicle. Makes sense to add it for other types too.

dedmen added a subscriber: dedmen.Mar 15 2024, 2:16 PM

With simpleVM, which will apply in this simple code, the loop will already be order of magnitude faster. Not really worth to add more alt syntaxes for that

This comment was removed by Geez.
This comment was removed by Geez.
This comment was removed by Geez.
This comment was removed by Geez.
This comment was removed by Geez.
This comment was removed by Geez.
This comment was removed by Geez.
Geez added a subscriber: Geez.Mar 26 2024, 10:11 AM
This comment was removed by LouMontana.
This comment was removed by LouMontana.
LouMontana closed subtask Restricted Maniphest Task as Resolved.Mar 26 2024, 12:08 PM