ACE3/addons/towing/functions/fnc_onMouseButtonUp.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

27 lines
385 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: tcvm
* Handles mouse interaction for attaching rope
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* [] call ace_towing_fnc_onMouseButtonUp
*
* Public: No
*/
params ["", "_button"];
if (_button > 1) exitWith {};
if (_button == 1) then {
GVAR(mouseRight) = false;
} else {
GVAR(mouseLeft) = false;
}