Skip to content

Arsenal, Loadouts & Appearance

15 pages · all function themes

Whitelisted arsenal, arsenal actions and overrides, loadout handling, insignia and campaign faces.

FunctionDescription
VN_fnc_module_whitelistedArsenal Module function for whitelisted arsenal. Executes server-side code and triggers client initialisation.
VN_fnc_onArsenalOpened Handle arsenal display open.
VN_fnc_setunitchestinsignia Adds insignia to unit globablly for all clients including JIP clients.
VN_fnc_whitelisted_arsenal_calculate_access Updates VN_whitelisted_arsenal_allowedItems global variable for the whitelisted arsenal functions, depending …
VN_fnc_whitelisted_arsenal_client Sets whitelisted arsenal event handlers.
VN_fnc_whitelisted_arsenal_copilot_check Check if the provided unit is in a co-pilot seat.
VN_fnc_whitelisted_arsenal_hint_message Gets the data from the unit and then compiles that into a message to the player. Includes ranks that can use X …
VN_fnc_whitelisted_arsenal_lbColor Color codes loadouts in the arsenal based on the availability of the items inside them.
VN_fnc_whitelisted_arsenal_loadInventory Adds loadout to character while also listing objects that have been skipped.
VN_fnc_whitelisted_arsenal_override Master function that contains all the gui overrides for the arsenal when whitelisted arsenal is enabled.
VN_fnc_whitelisted_arsenal_templateOkButton Takes over the confirm button for the loadouts and can do custom things on save/load.
VN_fnc_whitelisted_arsenal_vehicle_eject Gets the vehicle the player has gotten into and checks it against the vehicles for their current rank and …
vn_ms_fnc_addArsenalAction Adds arsenal action to given object, if VN arsenal is enabled.
vn_ms_fnc_forceCampaignFace Forces the desired face to the player unit for the campaign.
vn_ms_fnc_hasItems Checks if given units have at least one of each given item in their inventory.