Difference between revisions of "VN ms fnc params difficulty"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " |e=" to " |a= |e=")
(Page filling)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
Line 8: Line 7:
 
|a=
 
|a=
  
|e=
+
|e= global
  
 
|g1= params
 
|g1= params
  
|d= <pre>/*
+
|d= Sets VN difficulty parameter and sets the weather server-side.
    Author: Wyqer, veteran29
 
    Date: 2019-06-16
 
 
 
    Description:
 
        Fetches VN difficulty parameter.
 
 
 
    Parameter(s):
 
        _paramValue - Value of the parameter [NUMBER, defaults to 1]
 
 
 
    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_difficulty]];
+
|s= [parameter] call [[VN_ms_fnc_params_difficulty]]
  
|p1n=
+
|p1n= parameter
|p1t=
+
|p1t= number
|p1d=
+
|p1d= difficulty, as well as weather factor + 1
|p1v=
+
|p1v= 1
  
 
|p2n=
 
|p2n=
Line 40: Line 25:
 
|p2v=
 
|p2v=
  
|r1t=
+
|r1t= boolean
|r1d=
+
|r1d= function's success
  
|x1= <code>-</code>
+
|x1= <code>[2] call [[VN_ms_fnc_params_difficulty]];</code>
 
}}
 
}}

Latest revision as of 21:35, 25 February 2021

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

Description

Sets VN difficulty parameter and sets the weather server-side.

Syntax

Syntax
[parameter] call VN_ms_fnc_params_difficulty
Parameters
parameter: Number - (Optional, default 1) difficulty, as well as weather factor + 1
Return value
Boolean - function's success

Examples

Example 1
[2] call VN_ms_fnc_params_difficulty;