ACE3/addons/microdagr/functions/fnc_appMenuButtonConnectRangefinder.sqf
2015-08-26 05:31:33 +02:00

21 lines
433 B
Plaintext

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