2015-01-12 09:48:26 +00:00
|
|
|
/*
|
2015-02-02 08:35:17 +00:00
|
|
|
* Author: Garth 'L-H' de Wet
|
|
|
|
* Handles rotating of Explosives
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* Amount scrolled <NUMBER>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* Handled <BOOL>
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* 1.2 call ACE_Explosives_fnc_HandleScrollWheel;
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
2015-01-13 21:21:31 +00:00
|
|
|
#include "script_component.hpp"
|
2015-07-14 05:24:55 +00:00
|
|
|
|
2016-03-06 15:54:27 +00:00
|
|
|
if (!GVAR(pfeh_running)) exitWith {false};
|
2015-07-14 05:24:55 +00:00
|
|
|
|
2015-07-18 05:36:47 +00:00
|
|
|
GVAR(TweakedAngle) = ((GVAR(TweakedAngle) + 7.2 * _this) + 360) % 360;
|
2015-01-12 09:48:26 +00:00
|
|
|
|
|
|
|
true
|