Skip to content
VN_fnc_masterArm

VN_fnc_masterArm

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

Syntax

[mode, arguments] call VN_fnc_masterArm

Parameters

ParameterTypeDefaultDescription
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[] mode arguments

Examples

["Init"] call VN_fnc_masterArm;

Documented by Ethan Johnson.