ACE3/addons/dragging/functions/fnc_isObjectOnObject.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

19 lines
304 B
Plaintext

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