mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ca7fbe742c
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
27 lines
392 B
Plaintext
27 lines
392 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: Brandon (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;
|
|
}
|
|
|