Difference between revisions of "VN fnc artillery menu"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
Lou Montana (talk | contribs) m (Text replacement - "call VN_" to "call [[VN_") |
||
Line 50: | Line 50: | ||
|r1d= function reached the end | |r1d= function reached the end | ||
− | |x1= <code>["init"] call VN_fnc_artillery_menu</code> | + | |x1= <code>["init"] call [[VN_fnc_artillery_menu</code> |
}} | }} |
Revision as of 09:14, 27 February 2021
{{Function
|v= 1.00
|author= Ethan Johnson
|a=
|e= local
|g1= artillery_functions
|d= Artillery Menu master function
|s= [mode, params] call VN_fnc_artillery_menu
|p1n= mode |p1t= string |p1d= mode to call for the menu. Case-insensitive. Can be one of:
- "init"
- "draw"
- "radio:type"
- "onLoad"
- "onUnload"
- "lbSelChanged"
- "mouseButtonDown"
- "mouseButtonUp"
- "mouseMoving"
- "gui:setup"
- "gui:clear"
- "gui:combo:ammo"
- "gui:combo:callsign"
- "gui:combo:amount"
- "gui:combo:callsign"
- "gui:button:bombardment"
|p1v= ""
|p2n= params |p2t= array |p2d= arguments. Can be:
- for "init" and "onLoad": [Display]
- for "lbSelChanged": Array of Numbers, format [ctrlIndex, lbIndex]
- for "mouseButtonDown" and "mouseButtonUp": same as their respective event handlers, e.g ["_ctrl", "_button", "_xPos", "_yPos", "_shift", "_ctrl", "_alt"]
- for "mouseMoving": same as its respective event handler, e.g ["_ctrl", "_xPos", "_yPos", "_mouseOver"]
|p2v= []
|r1t= boolean |r1d= function reached the end
|x1= ["init"] call [[VN_fnc_artillery_menu
}}