Page MenuHomeFeedback Tracker

unitIsUAV returns false for UAV units
Feedback, NormalPublic

Description

unitIsUAV command returns false for UAV units, only works on UAV vehicles. I think its use could be extended if it also checked if unit is UAV unit (simulation = "UAVPilot").

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Open editor
  2. Place player and start
  3. Execute in console:
_vehicle = createVehicle ["B_UGV_01_F", getPos player, [], 0, ""];
flatten [_vehicle, units createVehicleCrew _vehicle] apply {[typeOf _x, unitIsUAV _x]};
  1. Observe result: [["B_UGV_01_F",true],["B_UAV_AI",false]]

Event Timeline

SaMatra created this task.Feb 16 2023, 7:45 AM

Revision: 150328

also true if unit is UAV pilot(gunner) or remote controlling one

https://community.bistudio.com/wiki/unitIsUAV

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Feb 24 2023, 7:01 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.
dedmen set Ref Ticket to AIII-55570.Wed, Mar 1, 1:43 PM