ACE3/addons/microdagr/functions/fnc_appMenuButtonConnectRangefinder.sqf

21 lines
433 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2015-03-09 15:46:59 +00:00
/*
* Author: PabstMirror
2015-03-11 07:06:07 +00:00
* Handles the "Connect To" button from the menu application
2015-03-09 15:46:59 +00:00
*
* Arguments:
2015-08-26 03:31:33 +00:00
* None
2015-03-09 15:46:59 +00:00
*
* Return Value:
2015-08-26 03:31:33 +00:00
* None
2015-03-09 15:46:59 +00:00
*
* Example:
2015-08-26 03:31:33 +00:00
* call ace_microdagr_fnc_appMenuButtonConnectRangefinder
2015-03-09 15:46:59 +00:00
*
2015-03-11 07:06:07 +00:00
* Public: No
2015-03-09 15:46:59 +00:00
*/
2015-08-26 03:31:33 +00:00
GVAR(currentWaypoint) = [-2, -1] select (GVAR(currentWaypoint) == -2);
2015-03-09 15:46:59 +00:00
GVAR(rangeFinderPositionASL) = [];
[APP_MODE_INFODISPLAY] call FUNC(saveCurrentAndSetNewMode);