Difference between revisions of "VN fnc artillery menu"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
m (Fix mass replace)
 
(One intermediate revision by the same user not shown)
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>
 
}}
 
}}

Latest revision as of 13:12, 3 April 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): n/a
Effect(s): local

Description

Artillery Menu master function

Syntax

Syntax
[mode, params] call VN_fnc_artillery_menu
Parameters
mode: String - (Optional, default "") 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"
params: Array - (Optional, default []) arguments. Can be:
Return value
Boolean - function reached the end

Examples

Example 1
["init"] call VN_fnc_artillery_menu;