ACE3/addons/dragging/functions/fnc_isObjectOnObject.sqf

19 lines
304 B
Plaintext
Raw Normal View History

2015-08-09 12:53:13 +00:00
/*
* Author: commy2
* Check if Object is Overlapping
*
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:
* Boolean <BOOL>
2015-08-09 12:53:13 +00:00
*
* Example:
2016-01-28 18:52:53 +00:00
* [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