Page MenuHomeFeedback Tracker

A scripting command to check if unit can reach vehicle's supply point
New, NormalPublic

Description

I'd like to request a scripting command that checks if unit can reach vehicle's supply point, as in if it has "Inventory" action and associated actions like "Assemble" visible. The check seems to be rather complicated in the engine so having the engine do it instead of trying to solve it through scripts (which I couldn't) will be useful.

Suggested syntax:
BOOL = ENTITY canReachSupply ENTITY.

Usage would be:
player canReachSupply _weapon_holder;

Details

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

Additional name ideas:
canReachSupplyPoint, canReachInventory, isSupplyClose, isSupplyPointClose, nearSupplyPoint

Event Timeline

SaMatra created this task.Mar 30 2023, 1:04 PM
SaMatra edited Additional Information. (Show Details)