mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
23 lines
393 B
Plaintext
23 lines
393 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* 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
|
|
*/
|
|
|
|
if (!GVAR(pfeh_running)) exitWith {false};
|
|
|
|
GVAR(TweakedAngle) = ((GVAR(TweakedAngle) + 7.2 * _this) + 360) % 360;
|
|
|
|
true
|