ACE3/addons/common/functions/fnc_owned.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

21 lines
403 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? <BOOL>
*
* Example:
* [bob] call ace_common_fnc_owned
*
* Public: No
*/
#include "script_component.hpp"
params ["_target"];
!isNull (_target getVariable [QGVAR(owner), objNull])