ACE3/addons/microdagr/functions/fnc_appMenuButtonConnectRangefinder.sqf
PabstMirror 95d59a1b3a Headers
2015-03-11 02:06:07 -05:00

21 lines
449 B
Plaintext

/*
* Author: PabstMirror
* Handles the "Connect To" button from the menu application
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* [] call ace_microdagr_fnc_appMenuButtonConnectRangefinder
*
* Public: No
*/
#include "script_component.hpp"
GVAR(currentWaypoint) = if (GVAR(currentWaypoint) == -2) then {-1} else {-2};
GVAR(rangeFinderPositionASL) = [];
[APP_MODE_INFODISPLAY] call FUNC(saveCurrentAndSetNewMode);