Difference between revisions of "VN fnc whitelisted arsenal calculate access"
Jump to navigation
Jump to search
vn>Unknown user m (Generated by LM_exportFunctionsToWiki.sqf) |
Lou Montana (talk | contribs) (Page filling) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Ethan Johnson |
− | |e= | + | |a= global |
+ | |||
+ | |e= local | ||
|g1= whitelisted_arsenal_functions | |g1= whitelisted_arsenal_functions | ||
− | |d= < | + | |d= Updates <tt>VN_whitelisted_arsenal_allowedItems</tt> global variable for the whitelisted arsenal functions, depending on the ''unit''<nowiki/>'s rank. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[VN_fnc_whitelisted_arsenal_calculate_access]] | + | |s= [unit] call [[VN_fnc_whitelisted_arsenal_calculate_access]] |
− | |p1n= | + | |p1n= unit |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= rank-checked unit |
|p1v= | |p1v= | ||
Line 39: | Line 28: | ||
|r1d= | |r1d= | ||
− | |x1= <code> | + | |x1= <code>[player] call [[VN_fnc_whitelisted_arsenal_calculate_access]];</code> |
}} | }} |
Latest revision as of 22:19, 25 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
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;