ACE3/addons/common/functions/fnc_getVehicleUAVCrew.sqf
Grim cb08a7c172
General - Change UAV unit config lookups to unitIsUAV (#9735)
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-15 18:39:28 -03:00

21 lines
354 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: commy2
* Returns array of uav dummy ais.
*
* Arguments:
* 0: Vehicle <OBJECT>
*
* Return Value:
* UAV Dummy Crew <ARRAY>
*
* Example:
* [car] call ace_common_fnc_getVehicleUAVCrew
*
* Public: Yes
*/
params [["_vehicle", objNull, [objNull]]];
(crew _vehicle) select {unitIsUAV _x} // return