ACE3/addons/dragging/functions/fnc_isObjectOnObject.sqf
Githawk 9cfa2f11d9 Stuff
Arguments, Return Value, (optional)
2016-06-06 20:42:20 +02:00

19 lines
296 B
Plaintext

/*
* Author: commy2
* Check if Object is Overlapping
*
* Arguments:
* 0: Object <OBJECT>
*
* Return Value:
* <BOOL>
*
* Example;
* [player] call ace_dragging_fnc_isObjectOnObject
*
* Public: No
*/
params ["_object"];
(getPosATL _object select 2) - (getPos _object select 2) > 1E-5