2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2017-09-07 17:26:32 +00:00
|
|
|
/*
|
|
|
|
* Author: chris579
|
|
|
|
* Triggered when a mouse button is released on the map.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: Map Control the evh was assigned to <CONTROL>
|
|
|
|
* 1: Button code <NUMBER>
|
2018-01-05 17:55:00 +00:00
|
|
|
* 2: Position of x <NUMBER>
|
|
|
|
* 3: Position of y <NUMBER>
|
|
|
|
* 4: State of Shift <BOOL>
|
|
|
|
* 5: State of Ctrl <BOOL>
|
|
|
|
* 6: State of Alt <BOOL>
|
2017-09-07 17:26:32 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
2018-01-06 06:52:57 +00:00
|
|
|
* [CONTROL, 2] call ace_markers_fnc_onMouseButtonUp
|
2017-09-07 17:26:32 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
2018-01-05 17:55:00 +00:00
|
|
|
params ["_ctrlMap", "_button", "_x", "_y", "_shift", "_ctrl", "_alt"];
|
2017-09-07 17:26:32 +00:00
|
|
|
|
2018-01-05 17:55:00 +00:00
|
|
|
GVAR(moving) = false;
|