2015-08-09 12:53:13 +00:00
|
|
|
/*
|
|
|
|
* Author: commy2
|
2023-07-23 23:07:37 +00:00
|
|
|
* Checks if an object is overlapping another object.
|
2015-08-09 12:53:13 +00:00
|
|
|
*
|
2016-06-18 09:50:41 +00:00
|
|
|
* Arguments:
|
2015-08-09 12:53:13 +00:00
|
|
|
* 0: Object <OBJECT>
|
|
|
|
*
|
2016-06-18 09:50:41 +00:00
|
|
|
* Return Value:
|
2023-07-23 23:07:37 +00:00
|
|
|
* If object is overlapping another <BOOL>
|
2015-08-09 12:53:13 +00:00
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
2023-07-23 23:07:37 +00:00
|
|
|
* [player] call ace_dragging_fnc_isObjectOnObject;
|
2016-01-28 18:52:53 +00:00
|
|
|
*
|
2015-08-09 12:53:13 +00:00
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
params ["_object"];
|
2015-03-17 10:44:41 +00:00
|
|
|
|
|
|
|
(getPosATL _object select 2) - (getPos _object select 2) > 1E-5
|