ACE3/addons/missileguidance/functions/fnc_gps_confirm.sqf
2021-05-01 23:04:08 -06:00

22 lines
396 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;