I'd like to request a variation of inAreaArray command that returns matching indexes instead of array elements. Non-object entities have to be represented as positions and to determine which non-object entity was matched by the command, you have to resort to hacky approaches like storing indexes as position Z coordinate which creates additional overhead for high-performing scripts, for which inAreaArray command very useful.
Description
Description
Details
Details
- Severity
- Feature
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 10 x64
- Category
- Scripting
Additional Information
Current inAreaArray output:
[ [0,0,0], [100,0,0], [200,0,0] ] inAreaArrayIndexes [[0,0,0], 150, 150]
>[[0,0,0],[100,0,0]]
Proposed inAreaArrayIndexes output:
[ [0,0,0], [100,0,0], [200,0,0] ] inAreaArrayIndexes [[0,0,0], 150, 150]
>[0,1]
Event Timeline
Comment Actions
rev 150318 https://community.bistudio.com/wiki/inAreaArrayIndexes
Please check every variation thoroughly
Comment Actions
resort to hacky approaches like storing indexes as position Z coordinate
You can just store them as hashmaps now