Difference between revisions of "VN fnc masterArm"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "masterarm_functions" to "MasterArm") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(3 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 | |g1= MasterArm | ||
− | |d= | + | |d= Master arm master function, setups and creates the display and everything it needs. |
− | |||
− | |||
− | |||
− | + | |s= [mode, arguments] call [[VN_fnc_masterArm]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |p1n= mode | |
− | + | |p1t= string | |
− | + | |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> | + | |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;