Page MenuHomeFeedback Tracker

[Feature Request] not InAreaArray
New, NormalPublic

Description

Simple request to add either a inverse flag or new command for inAreaArrayIndexes, InAreaArray commands.
Basically add the check is something not in area.

Use case:

//Instead this
private _allObj = 8 allObjects 1; 
private _out = _allObj - (_allObj inAreaArray [[worldSize / 2 ,worldSize / 2, 0], worldSize / 2, worldSize / 2, 0, true]);

//we could do:
private _allObj = 8 allObjects 1; 
private _out = _allObj inAreaArray [[worldSize / 2 ,worldSize / 2, 0], worldSize / 2, worldSize / 2, 0, true,(true/false)//inArea, notInArea]);

Details

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

Event Timeline

LegionP1 updated the task description. (Show Details)Nov 28 2023, 11:19 AM
LegionP1 updated the task description. (Show Details)Nov 28 2023, 11:21 AM
LegionP1 renamed this task from [Feature Request] Not InArea or !inArea. to [Feature Request] not InAreaArray.Nov 28 2023, 11:25 AM
LegionP1 updated the task description. (Show Details)
jaj22 added a subscriber: jaj22.Nov 28 2023, 7:04 PM

Maybe wouldn't be necessary if there was a reasonably fast way to subtract large arrays. But there isn't. Would like a bulk hashmap deletion method at least.