Difference between revisions of "VN ms fnc params arsenal"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "[[vn_" to "[[VN_")
(Page filling)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 8: Line 7:
 
|a=
 
|a=
  
|e=
+
|e= local
  
 
|g1= params
 
|g1= params
  
|d= <pre>/*
+
|d= Sets VN whitelisted arsenal enabled/disabled parameter.
    Author: Wyqer, veteran29
 
    Date: 2020-12-05
 
  
    Description:
+
|s= [parameter] call [[VN_ms_fnc_params_arsenal]]
        Fetches VN whitelisted arsenal enabled/disabled parameter.
 
  
    Parameter(s):
+
|p1n= parameter
        _paramValue - Value of the parameter [NUMBER, defaults to 0]
+
|p1t= number
 
+
|p1d= acts as a boolean; 1 = enabled, any other value = 0 = disabled.
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
 
 
|s= [] call [[VN_ms_fnc_params_arsenal]]
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
Line 43: Line 28:
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>[1] call [[VN_ms_fnc_params_arsenal]];</code>
 
}}
 
}}

Revision as of 21:28, 25 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): local

Description

Sets VN whitelisted arsenal enabled/disabled parameter.

Syntax

Syntax
[parameter] call VN_ms_fnc_params_arsenal
Parameters
parameter: Number - acts as a boolean; 1 = enabled, any other value = 0 = disabled.
Return value
Nothing

Examples

Example 1
[1] call VN_ms_fnc_params_arsenal;