Difference between revisions of "VN fnc masterArm"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "masterarm_functions" to "MasterArm")
(Page filling)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 8: Line 7:
 
|a=
 
|a=
  
|e=
+
|e= local
  
 
|g1= MasterArm
 
|g1= MasterArm
  
|d= <pre>/*
+
|d= Master arm master function, setups and creates the display and everything it needs.
        FILE: fn_masterarm.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
  
        DESCRIPTION:
+
|s= [mode, arguments] call [[VN_fnc_masterArm]]
                Master arm master function, setups and creates the display & everything it needs
 
        PARAMETERS:
 
(0): STRING - Mode to call for the menu
 
(1): ARRAY - Params for chosen mode
 
        RETURNS:
 
                NONE
 
*/
 
  
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
+
|p1n= mode
 
+
|p1t= string
|s= [] call [[VN_fnc_masterarm]];
+
|p1d= case-insensitive. Can be:
 
+
{{Columns|5|
|p1n=
+
* "Draw3D"
|p1t=
+
* "Mouse"
|p1d=
+
* "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"
 +
}}
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= arguments
|p2t=
+
|p2t= array
|p2d=
+
|p2d= ''mode'' arguments
|p2v=
+
|p2v= []
  
|r1t=
+
|r1t= nothing
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>["Init"] call VN_fnc_masterArm</code>
 
}}
 
}}

Revision as of 23:49, 18 January 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