2015-03-15 08:02:11 +00:00
|
|
|
/*
|
|
|
|
* Author: commy2
|
|
|
|
* Counterpart of ace_common_fnc_claim. Check if the given object is claimed by another unit.
|
|
|
|
*
|
|
|
|
* Arguments:
|
2015-09-17 16:25:02 +00:00
|
|
|
* 0: Any object. <OBJECT>
|
2015-03-15 08:02:11 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* Is this object claimed by someone?
|
|
|
|
*
|
2015-09-17 16:25:02 +00:00
|
|
|
* Public: No
|
2015-03-15 08:02:11 +00:00
|
|
|
*/
|
2015-01-13 19:56:02 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-11 16:42:31 +00:00
|
|
|
|
2015-09-17 16:25:02 +00:00
|
|
|
params ["_target"];
|
2015-01-11 16:42:31 +00:00
|
|
|
|
2015-03-15 08:02:11 +00:00
|
|
|
!isNull (_target getVariable [QGVAR(owner), objNull])
|