mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
dbe372cb48
* Code cleanup * Moved keybinds to initKeybinds.sqf * Update addons/dragging/initKeybinds.sqf Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Update addons/dragging/functions/fnc_carryObject.sqf Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Update addons/dragging/functions/fnc_getWeight.sqf Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Rephrasing and adjustments for dragging --------- Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
19 lines
350 B
Plaintext
19 lines
350 B
Plaintext
/*
|
|
* Author: commy2
|
|
* Checks if an object is overlapping another object.
|
|
*
|
|
* Arguments:
|
|
* 0: Object <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* If object is overlapping another <BOOL>
|
|
*
|
|
* Example:
|
|
* [player] call ace_dragging_fnc_isObjectOnObject;
|
|
*
|
|
* Public: No
|
|
*/
|
|
params ["_object"];
|
|
|
|
(getPosATL _object select 2) - (getPos _object select 2) > 1E-5
|