mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
320 B
Plaintext
23 lines
320 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
*
|
|
*
|
|
* Arguments:
|
|
* 0: unit <OBJECT>
|
|
* 1: device ID <STRING>
|
|
*
|
|
* Return Value:
|
|
* owned? <BOOLEAN>
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
params ["_unit", "_deviceID"];
|
|
|
|
private ["_ownedIDs"];
|
|
_ownedIDs = _unit getvariable [QGVAR(ownedDevices), []];
|
|
|
|
(_deviceID in _ownedIDs)
|