Page MenuHomeFeedback Tracker

Extend inAreaArray\inAreaArrayIndexes to take center as entity
Closed, ResolvedPublic

Description

Unlike inArea, both inAreaArray and inAreaArrayIndexes don't support taking entity as center which is quite useful for quick area checks around vehicles or player.

getPos player inArea [player, 10, 10, 0, false, 10] => works
[getPos player] inAreaArray [player, 10, 10, 0, false, 10] => doesn't work
[getPos player] inAreaArrayIndexes [player, 10, 10, 0, false, 10] => doesn't work

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Additional Information

Also please add entity argument support to inPolygon too: T171699

Event Timeline

SaMatra created this task.Apr 21 2023, 3:27 AM
BIS_fnc_KK set Ref Ticket to AIII-55660.Apr 21 2023, 9:48 AM
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Apr 21 2023, 9:51 AM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

Revision: 150521

Tested, works good. Can be closed as resolved.

Leopard20 closed this task as Resolved.Sep 11 2023, 1:46 PM