Difference between revisions of "VN fnc masterArm"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |e=" to " |a= |e=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 8: | Line 7: | ||
|a= | |a= | ||
− | |e= | + | |e= local |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |g1= MasterArm | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |d= Master arm master function, setups and creates the display and everything it needs. | |
− | |s= [] call [[ | + | |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> | + | |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 |
|
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;