VN_fnc_whitelisted_arsenal_calculate_access

From Savage Game Design Wiki
Revision as of 22:19, 25 February 2021 by Lou Montana (talk | contribs) (Page filling)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;