ACE3/addons/dragging/functions/fnc_isObjectOnObject.sqf

19 lines
295 B
Plaintext
Raw Normal View History

2015-08-09 12:53:13 +00:00
/*
* Author: commy2
* Check if Object is Overlapping
*
* Argument:
* 0: Object <OBJECT>
*
* Return value:
* <BOOL>
*
2016-01-28 18:52:53 +00:00
* Example;
* [player] call ace_dragging_fnc_isObjectOnObject
*
2015-08-09 12:53:13 +00:00
* Public: No
*/
params ["_object"];
(getPosATL _object select 2) - (getPos _object select 2) > 1E-5