mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
20 lines
361 B
Plaintext
20 lines
361 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?
|
|
*
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
private "_target";
|
|
|
|
_target = _this select 0;
|
|
|
|
!isNull (_target getVariable [QGVAR(owner), objNull])
|