VN_fnc_artillery_menu

From Savage Game Design Wiki
Revision as of 13:12, 3 April 2021 by Lou Montana (talk | contribs) (Fix mass replace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← 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;