ACE3/addons/common/functions/fnc_owned.sqf
2015-09-20 16:40:49 +02:00

18 lines
346 B
Plaintext

/*
* Author: commy2
* Counterpart of ace_common_fnc_claim. Check if the given object is claimed by another unit.
*
* Arguments:
* 0: Any object. <OBJECT>
*
* Return Value:
* Is this object claimed by someone?
*
* Public: No
*/
#include "script_component.hpp"
params ["_target"];
!isNull (_target getVariable [QGVAR(owner), objNull])