mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
13 lines
350 B
Plaintext
13 lines
350 B
Plaintext
|
/**
|
||
|
* fn_getCarriedBy.sqf
|
||
|
* @Descr: Get the object that is carrying given unit or object
|
||
|
* @Author: Glowbal
|
||
|
*
|
||
|
* @Arguments: [unit OBJECT]
|
||
|
* @Return: OBJECT Returns the object that is carrying the unit. Otherwise returns ObjNull
|
||
|
* @PublicAPI: true
|
||
|
*/
|
||
|
|
||
|
#include "script_component.hpp"
|
||
|
|
||
|
((_this select 0) getvariable [QGVAR(carriedBy),objNull]);
|