mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
13 lines
344 B
Plaintext
13 lines
344 B
Plaintext
/**
|
|
* fn_carriedByObj.sqf
|
|
* @Descr: Check if object A is being carried by object B.
|
|
* @Author: Glowbal
|
|
*
|
|
* @Arguments: [object OBJECT, unit OBJECT]
|
|
* @Return: BOOL True if B is carrying A.
|
|
* @PublicAPI: true
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
([(_this select 0)] call FUNC(getCarriedBy) == [(_this select 1)] call FUNC(getCarriedBy)); |