/* * Author: Glowbal * * * Arguments: * 0: unit * 1: device ID * * Return Value: * owned? * * Public: No */ #include "script_component.hpp" params ["_unit", "_deviceID"]; private ["_ownedIDs"]; _ownedIDs = _unit getvariable [QGVAR(ownedDevices), []]; (_deviceID in _ownedIDs)