VN_fnc_whitelisted_arsenal_calculate_access

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): global
Effect(s): local

Description

Updates VN_whitelisted_arsenal_allowedItems global variable for the whitelisted arsenal functions, depending on the unit's rank.

Syntax

Syntax
[unit] call VN_fnc_whitelisted_arsenal_calculate_access
Parameters
unit: Object - rank-checked unit
Return value
Nothing

Examples

Example 1
[player] call VN_fnc_whitelisted_arsenal_calculate_access;