VN_fnc_artillery_menu
Revision as of 19:25, 5 January 2021 by Lou Montana (talk | contribs) (Text replacement - " |e=" to " |a= |e=")
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
/* File: fn_artillery_menu.sqf Author: Ethan Johnson Date: 2020-04-29 Last Update: 2020-06-09 Public: Yes Description: Artillery master fuction for the menu Parameter(s): _mode - Mode to call for the menu [STRING, defaults to ""] _params - Mode to call for the menu [ARRAY, defaults to []] Returns: Function reached the end [BOOL] Example(s): ["init"] call vn_fnc_artillery_menu */ #define DISPLAY (uiNamespace getVariable ["vn_artillery_display",displayNull]) #define TITLE (DISPLAY displayctrl 350) #define CALLSIGN_LIST (DISPLAY displayctrl 102) #define AMMO_LIST (DISPLAY displayctrl 103) #define AMMO_DESCRIPTION (DISPLAY displayctrl 203) #define AMOUNT_COMBO (DISPLAY displayctrl 104) #define BUTTON (DISPLAY displayctrl 105) #define MAP (DISPLAY displayctrl 7001) #define AMMO_INDEX (lbCurSel AMMO_LIST) #define CALLSIGN_INDEX (lbCurSel CALLSIGN_LIST) #define CALLSIGN_VALUE (CALLSIGN_LIST lbValue (lbCurSel CALLSIGN_LIST)) #define AMOUNT_INDEX (lbCurSel AMOUNT_COMBO)(Placeholder description extracted from the function header by LM_exportFunctionsToWiki.sqf)
Syntax
- Syntax
- [] call VN_fnc_artillery_menu;
- Return value
- Nothing
Examples
- Example 1
-