Difference between revisions of "VN fnc masterArm"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 58: Line 58:
 
|r1d=
 
|r1d=
  
|x1= <code>["Init"] call VN_fnc_masterArm</code>
+
|x1= <code>["Init"] call [[VN_fnc_masterArm]];</code>
 
}}
 
}}

Latest revision as of 20:18, 26 February 2021

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

Description

Master arm master function, setups and creates the display and everything it needs.

Syntax

Syntax
[mode, arguments] call VN_fnc_masterArm
Parameters
mode: String - case-insensitive. Can be:
  • "Draw3D"
  • "Mouse"
  • "MouseButtonDown"
  • "MouseButtonUp"
  • "MouseZChanged"
  • "OnLoad"
  • "OnUnload"
  • "Init"
  • "InitGUI"
  • "Exit"
  • "Exit:Revert"
  • "Exit:Confirm"
  • "Button:Rearm"
  • "Button:Refuel"
  • "Button:Repair"
  • "Original"
  • "ShowInfo"
  • "ShowStats"
  • "ShowMessage"
  • "CalculateSupplies"
  • "Preload"
  • "Tab:Preload"
  • "Tab:Select"
  • "List:Select"
  • "List:Reload"
  • "Vehicle:Animate"
  • "Vehicle:Texture"
  • "Vehicle:Loadout"
arguments: Array - (Optional, default []) mode arguments
Return value
Nothing

Examples

Example 1
["Init"] call VN_fnc_masterArm;