ACE3/addons/arsenal/functions/fnc_onMouseButtonDown.sqf
PabstMirror eb53e7a2fe
Tools - document_functions.py: handle header sub indexs for arguments (#9303)
* tools - handle header sub indexs for arguements

* convert remaining

* Update coding-guidelines.md
2023-08-08 22:51:20 -05:00

24 lines
438 B
Plaintext

#include "script_component.hpp"
/*
* Author: commy2
* Handles mouse button press.
*
* Arguments:
* 0: Not used
* 1: Args <ARRAY>
* - 0: Not used
* - 1: Mouse button <NUMBER>
* - 2: Mouse X position <NUMBER>
* - 3: Mouse Y position <NUMBER>
*
* Return Value:
* None
*
* Public: No
*/
params ["", "_args"];
_args params ["", "_buttonPressed", "_xPos", "_yPos"];
GVAR(mouseButtonState) set [_buttonPressed, [_xPos, _yPos]];