/* * Author: Garth 'L-H' de Wet, Ruthberg * Handles sandbag rotation * * Arguments: * 0: scroll amount * * Return Value: * handled * * Example: * [1.2] call ace_sandbag_fnc_handleScrollWheel * * Public: No */ #include "script_component.hpp" params ["_scroll"]; if (GETMVAR(ACE_Modifier,0) == 0 || GVAR(digPFH) == -1) exitWith { false }; GVAR(digDirection) = GVAR(digDirection) + (_scroll * 5); true