Page MenuHomeFeedback Tracker

Alternative syntax for inPolygon command
Closed, ResolvedPublic

Description

I'd like to request alternative syntax for inPolygon command to support entities alongside positions. I mainly operate entities in my area checks and having a way to feed entities into the command will make things much more convenient.

BOOL = ENTITY inPolygon ARRAY

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

If such alternative syntax existed you could do:
createVehicle [typeOf player, [100,100,0], [], 0, "CAN_COLLIDE"] inPolygon [[0,0,0],[1000,1000,0],[1000,0,0]] and it would return true

Event Timeline

SaMatra created this task.Apr 20 2023, 10:55 AM
BIS_fnc_KK set Ref Ticket to AIII-55660.Apr 21 2023, 9:48 AM

Revision: 150521

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.

Tested, works good. Can be closed as resolved.

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