ACE3/addons/missileguidance/functions/fnc_gps_confirm.sqf
2021-04-19 01:27:49 -06:00

22 lines
393 B
Plaintext

#include "script_component.hpp"
/*
* Author: Brandon (TCVM)
* Confirm GPS weapon settings and serialize to variables
*
* Arguments:
* Guidance Arg Array <ARRAY>
*
* Return Value:
* None
*
* Example:
* [] call ace_missileguidance_fnc_gps_confirm
*
* Public: No
*/
if (GVAR(gps_mode) isEqualTo "pb") then {
[GVAR(gps_pbMode)] call FUNC(gps_saveAttackSettings);
};
closeDialog 0;