mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
15 lines
415 B
Plaintext
15 lines
415 B
Plaintext
|
#include "script_component.hpp"
|
||
|
["MouseButtonDown", LINKFUNC(onMouseButtonDown)] call CBA_fnc_addDisplayHandler;
|
||
|
["MouseButtonUp", LINKFUNC(onMouseButtonUp)] call CBA_fnc_addDisplayHandler;
|
||
|
GVAR(mouseLeft) = false;
|
||
|
GVAR(mouseRight) = false;
|
||
|
|
||
|
GVAR(cancel) = false;
|
||
|
GVAR(canAttach) = false;
|
||
|
|
||
|
[QGVAR(setTowParent), {
|
||
|
params ["_parent", "_child"];
|
||
|
_child setTowParent _parent;
|
||
|
}] call CBA_fnc_addEventHandler;
|
||
|
|