Difference between revisions of "VN fnc artillery menu"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (1 revision imported) |
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
||
| Line 4: | Line 4: | ||
|v= 1.00 | |v= 1.00 | ||
| − | | | + | |author= Ethan Johnson |
|e= | |e= | ||
Revision as of 19:19, 5 January 2021
| ← 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
-