Difference between revisions of "VN fnc masterArm"

From Savage Game Design Wiki
Jump to navigation Jump to search
vn>Unknown user
m (Generated by LM_exportFunctionsToWiki.sqf)
 
m (Some wiki formatting)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Ethan Johnson
+
|author= Ethan Johnson
 
 
|e=
 
  
|g1= masterarm_functions
+
|a=
  
|d= <pre>/*
+
|e= local
        FILE: fn_masterarm.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
  
        DESCRIPTION:
+
|g1= 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>
+
|d= Master arm master function, setups and creates the display and everything it needs.
  
|s= [] call [[VN_fnc_masterarm]];
+
|s= [mode, arguments] call [[VN_fnc_masterArm]]
  
|p1n=
+
|p1n= mode
|p1t=
+
|p1t= string
|p1d=
+
|p1d= case-insensitive. Can be:
 +
{{Columns|5|
 +
* "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"
 +
}}
 
|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>
 
}}
 
}}

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;