Difference between revisions of "User:Slow"

From Savage Game Design Wiki
Jump to navigation Jump to search
(1.0)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<mediawiki xml:lang="en">
+
Opposite of Fast.
<page>
 
<title>VN_fnc_sa2_fired</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= weapon_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_sa2_fired.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-09-01
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    SA2 fired eventhandler function, does not use all parameters from the fired eventhandler
 
 
 
    Parameter(s):
 
    _unit - Unit which the eventhandler is attached to [OBJECT, defaults to OBJNULL]
 
    _weapon - Weapon classname of the fired weapon [STRING, defaults to ""]
 
    _muzzle - Muzzle of the fired weapon [STRING, defaults to ""]
 
    _mode - Mode of the fired weapon [STRING, defaults to ""]
 
    _ammo - Ammo of the fired weapon [STRING, defaults to ""]
 
    _magazine - Magazine of the fired weapon [STRING, defaults to ""]
 
    _projectile - Projectile of the fired weapon [STRING, defaults to ""]
 
    _gunner - Unit that insigated the fired eventhandler [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player, "weapon", "muzzle", "mode", "ammo", "magazine", "projectile", gunner] call vn_fnc_sa2_fired
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_sa2_fired]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_rsna75_initDisplay</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= weapon_functions
 
 
 
|d= &lt;pre&gt;/*
 
* vn_fnc_rsna75_initDisplay
 
*
 
* function is initialized on the RscInGameUI onLoad event for the fan song.
 
* function is used to manage any kind of UI manipulation while the player is inside the fan song, particularly interior MFD rendering
 
*
 
*
 
* params: none
 
*
 
* returns: none
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_rsna75_initDisplay]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_rsna75_updateDisplay</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= weapon_functions
 
 
 
|d= &lt;pre&gt;/*
 
* vn_fnc_rsna75_updateDisplay
 
*
 
* function is used to once per second update UI elements of the Fan Song MFDs
 
*
 
*
 
* params: none
 
*
 
* returns: none
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_rsna75_updateDisplay]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_close_doors_on_exit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_vn_close_doors_on_exit.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-11-04
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    When a player leaves the vehicle, close the relevant doors if they're open.
 
    Fixes a bug whereby `moveOut` before a door animation has completed leaves the door open.
 
 
 
    Parameter(s):
 
    _vehicle - Vehicle that has doors [OBJECT, defaults to OBJNULL]
 
    _role - Role of the unit that exited the vehicle [STRING, defaults to ""]
 
    _unit - Unit the called the eventhandler [OBJECT, defaults to OBJNULL]
 
    _turretPath - Turret path(s)  [ARRAY, defaults to []]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [parameter] call vn_fnc_myFunction
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vn_close_doors_on_exit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_ejection_2</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/*
 
TeTeT: copied this from BI01 and adjusted it for the F/A-18F and then Unsung two seaters
 
as the driver or gunner could be already dead, we do not take care if either is alive
 
See the original function for full documentation.
 
All credits go to:
 
Author: Bravo Zero One development
 
- John_Spartan
 
Description:
 
- This function is designed to implement semi-authenthic ejection system on fixed wing aircraft that have such functionality enabled/configured.
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vn_ejection_2]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_eject_crewmember</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/*
 
Extracted from vn_ejection_2.sqf
 
All credits go to:
 
Author: Bravo Zero One development
 
- John_Spartan
 
Description:
 
- Ejects a single crewmember as part of the vn_ejection_2 script.
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vn_eject_crewmember]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_ah1g_canopy</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_vn_ah1g_canopy.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-15
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Closes AH1G canopy doors
 
 
 
    Parameter(s):
 
    _heli - Helicopter object [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [heli] call vn_fnc_vn_ah1g_canopy
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vn_ah1g_canopy]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_uh1_doors</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_vn_uh1_doors.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-15
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Closes UH1 doors
 
 
 
    Parameter(s):
 
    _heli - Helicopter object [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [heli] call vn_fnc_vn_uh1_doors
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vn_uh1_doors]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_ch34_engineEH</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/// Disable engine if the rotors are folded
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vn_ch34_engineEH]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_f4_cockpit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/*
 
* vn_fn_f4_cockpit
 
*
 
* function is initialized on the getIn event for F4.
 
* function is used to manage any kind of UI manipulation while the player is inside the plane, particularly MFD rendering
 
*
 
*
 
* params: none
 
*
 
* returns: none
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vn_f4_cockpit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_f4_optics_gbu8</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= ''N/A''
 
 
 
|s= [] call [[VN_fnc_vn_f4_optics_gbu8]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_f4_fired_gbu8</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= ''N/A''
 
 
 
|s= [] call [[VN_fnc_vn_f4_fired_gbu8]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_f4_decals_numbers</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= ''N/A''
 
 
 
|s= [] call [[VN_fnc_vn_f4_decals_numbers]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_f4_decals_name</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= ''N/A''
 
 
 
|s= [] call [[VN_fnc_vn_f4_decals_name]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_radar_initDisplay</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= boat_functions
 
 
 
|d= &lt;pre&gt;/*
 
* vn_fn_radar_initDisplay
 
*
 
* function is initialized on the RscInGameUI onLoad event for shantou and ptf.
 
* function is used to manage any kind of UI manipulation while the player is inside the boat, particularly MFD rendering
 
*
 
*
 
* params: none
 
*
 
* returns: none
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_radar_initDisplay]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_wheeled_doors</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_vn_wheeled_doors.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-13
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Closes all doors in the vehicle
 
 
 
    Parameter(s):
 
    _wheeled_doors - Vehicle which will be affected [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [truck] call vn_fnc_vn_wheeled_doors
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vn_wheeled_doors]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_bicycle_handle_pedals</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_bicycle_handle_pedals.sqf
 
Author: Reyhard, 3CB, modified for SGD by veteran29
 
Date: 2020-08-23
 
Last Update: 2020-08-23
 
Public: No
 
 
Description:
 
Handles animations of bicycle pedals.
 
 
Parameter(s):
 
_vehicle - Bicycle [OBJECT, defaults to objNull]
 
_engineState - Current engine state [BOOL, defaults to false]
 
 
Returns:
 
NOTHING
 
 
Example(s):
 
[bicycle, true] call vn_fnc_bicycle_handle_pedals
 
*/
 
 
 
//#define VN_DEBUG // uncomment to switch on debug output
 
#define PEDAL_SOURCE "pedals"
 
#define THROTTLE_SOURCE "virtual_throttle"
 
#define BRAKE_SOURCE "virtual_brake"
 
#define DELTA_TIME 0.1
 
#define HANDLER_ID (format ["vn_pedals_%1", _vehicle call BIS_fnc_netId])
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_bicycle_handle_pedals]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_bicycle_02_handle_pedals</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= functions
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_bicycle_handle_pedals.sqf
 
Author: Reyhard, 3CB, modified for SGD by veteran29
 
Date: 2020-08-23
 
Last Update: 2020-08-23
 
Public: No
 
 
Description:
 
Handles animations of bicycle pedals.
 
 
Parameter(s):
 
_vehicle - Bicycle [OBJECT, defaults to objNull]
 
_engineState - Current engine state [BOOL, defaults to false]
 
 
Returns:
 
NOTHING
 
 
Example(s):
 
[bicycle, true] call vn_fnc_bicycle_handle_pedals
 
*/
 
 
 
//#define VN_DEBUG // uncomment to switch on debug output
 
#define PEDAL_SOURCE "pedals"
 
#define THROTTLE_SOURCE "virtual_throttle"
 
#define BRAKE_SOURCE "virtual_brake"
 
#define DELTA_TIME 0.1
 
// Length of a single loop, in "phase"
 
#define ANIM_REST_PERIOD 0.35
 
#define ANIM_SINGLE_LENGTH 0.7
 
#define ANIM_TOTAL_LENGTH 14
 
#define ANIM_START_OFFSET 7
 
/*
 
PEDAL_SOURCE = "pedals";
 
THROTTLE_SOURCE = "virtual_throttle";
 
BRAKE_SOURCE = "virtual_brake";
 
DELTA_TIME = 0.2;
 
ANIM_REST_PERIOD = 0.35;
 
// Length of a single loop, in "phase"
 
ANIM_SINGLE_LENGTH = 0.7;
 
ANIM_TOTAL_LENGTH = 14;
 
ANIM_START_OFFSET = 7;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_bicycle_02_handle_pedals]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_initdynamicradiomusic</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_initdynamicradiomusic.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-03
 
    Last Update: 2020-06-25
 
    Public: No
 
 
 
    Description:
 
    Gathers compatible sounds from cfgsounds then plays them as audio from radios placed around the mission
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    NONE
 
 
 
    Example(s):
 
    [] call vn_fnc_initdynamicradiomusic
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_initdynamicradiomusic]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_initsituationalawareness</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_initsituationalawareness.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-03
 
    Last Update: 2020-06-25
 
    Public: No
 
 
 
    Description:
 
    Gathers compatible sounds from cfgsounds then plays them to simulate situational awareness for players.
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    NONE
 
 
 
    Example(s):
 
    [] call vn_fnc_initsituationalawareness
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_initsituationalawareness]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_logistics</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_module_logistics.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Module function for the logistics. Sets up variables for the item &amp; vehicle list. And adds the actions for clients
 
        PARAMETERS:
 
                (0): OBJECT - Logic unit.
 
                (1): ARRAY - List of units.
 
                (2): BOOLEAN - Activated variable.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_logistics]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_whitelistedarsenal</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_module_whitelistedarsenal.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Module function for whitelisted arsenal. Adds all the stuff for the server and starts the client stuff.
 
        PARAMETERS:
 
                (0): OBJECT - Logic unit.
 
                (1): ARRAY - List of units.
 
                (2): BOOLEAN - Activated variable.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_whitelistedarsenal]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_advancedrevive</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_module_advancedrevive.sqf
 
        DATE: 02-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Master module function that starts the advanced revive system
 
        PARAMETERS:
 
                (0): OBJECT - Logic unit.
 
                (1): ARRAY - List of units.
 
                (2): BOOLEAN - Activated variable.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_advancedrevive]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_qol</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_module_qol.sqf
 
        DATE: 24-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Quality of life module changes
 
        PARAMETERS:
 
                (0): OBJECT - Logic unit.
 
                (1): ARRAY - List of units.
 
                (2): BOOLEAN - Activated variable.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_qol]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_masterarm</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_module_masterarm.sqf
 
        DATE: 24-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Master arm setup function
 
        PARAMETERS:
 
                (0): OBJECT - Logic unit.
 
                (1): ARRAY - List of units.
 
                (2): BOOLEAN - Activated variable.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_masterarm]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_cinematic</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_module_cinematic.sqf
 
        DATE: 25-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Cinematic module base
 
        PARAMETERS:
 
                (0): OBJECT - Logic unit.
 
                (1): ARRAY - List of units.
 
                (2): BOOLEAN - Activated variable.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_cinematic]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_onslaught</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_module_onslaught.sqf
 
        DATE: 28-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Module init for Onslaught module system, gathers and spawns units at predefined spawn points and gives them their tactic orders.
 
        PARAMETERS:
 
                (0): OBJECT - Logic unit.
 
                (1): ARRAY - List of units.
 
                (2): BOOLEAN - Activated variable.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_onslaught]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_tunnel</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_module_tunnel.sqf
 
        DATE: 29-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Tunnel entrance module
 
        PARAMETERS:
 
                (0): OBJECT - Logic unit.
 
                (1): ARRAY - List of units.
 
                (2): BOOLEAN - Activated variable.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_tunnel]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_tunnel_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_module_tunnel_init.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-19
 
    Last Update: 2020-06-19
 
    Public: No
 
 
 
    Description:
 
    No description added yet.
 
 
 
    Parameter(s):
 
    _logic - Logic unit [OBJECT, defaults to OBJNULL]
 
    _units - List of units [ARRAY, defaults to []]
 
    _activated - Activated variable [BOOLEAN, defaults to TRUE]
 
 
 
    Returns:
 
    NOTHING
 
 
 
    Example(s):
 
    [logic, [], true] call vn_fnc_module_tunnel_init
 
*/
 
 
 
 
 
if is3Den exitWith
 
{
 
        params
 
        [
 
                ["_mode","",[""]],
 
                ["_logic_list",[],[[]]]
 
        ];
 
 
 
        if (count _logic_list &gt; 0) then
 
        {
 
                private _logic = (_logic_list#0);
 
                private _object = _logic getVariable ["vn_module_tunnel_init_3den_object", objnull];
 
 
 
                switch (tolower _mode) do
 
                {
 
                        case "unregisteredfromworld3den":
 
                        {
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_tunnel_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_artillery</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_module_artillery.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Setup function for the artillery module system
 
        PARAMETERS:
 
(0): OBJECT - Logic object
 
(1): ARRAY - Array of units
 
(2): BOOL - Logic activated
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_artillery]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_ambient_audio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_module_ambient_audio.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-09-01
 
    Last Update: 2020-09-01
 
    Public: No
 
 
 
    Description:
 
    No description added yet.
 
 
 
    Parameter(s):
 
    _logic - Logic unit [OBJECT, defaults to OBJNULL]
 
    _units - List of units [ARRAY, defaults to []]
 
    _activated - Activated variable [BOOLEAN, defaults to TRUE]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [parameter] call vn_fnc_myFunction
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_ambient_audio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_water_fall</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_module_water_fall.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-11-13
 
    Last Update: 2020-11-13
 
    Public: No
 
 
 
    Description:
 
    No description added yet.
 
 
 
    Parameter(s):
 
    _logic - Logic unit [OBJECT, defaults to OBJNULL]
 
    _units - List of units [ARRAY, defaults to []]
 
    _activated - Activated variable [BOOLEAN, defaults to TRUE]
 
 
 
    Returns:
 
    NOTHING
 
 
 
    Example(s):
 
    [logic, [], true] call vn_fnc_module_tunnel_init
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_water_fall]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_site</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_module_site.sqf
 
    Author: Ethan Johnson
 
    Date: 2021-01-17
 
    Last Update: 2021-01-17
 
    Public: No
 
 
 
    Description:
 
    Internal BIS function for sites
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [] call vn_fnc_module_site
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_site]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_jukebox_disable</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= master_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_module_jukebox_disable.sqf
 
    Author: Ethan Johnson
 
    Date: 2021-04-20
 
    Last Update: 2021-04-20
 
    Public: No
 
 
 
    Description:
 
    Disables the jukebox actions for the player
 
 
 
    Parameter(s):
 
    _logic - Logic unit [OBJECT, defaults to OBJNULL]
 
    _units - List of units [ARRAY, defaults to []]
 
    _activated - Activated variable [BOOLEAN, defaults to TRUE]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [logic, [], true] call vn_fnc_module_jukebox_disable
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_jukebox_disable]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_zeus_ordnance</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= zeus_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_zeus_ordnance.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Ordnance function which allows zeus modules to fire ordanance.
 
        PARAMETERS:
 
(0): OBJECT - Logic object
 
(1): ARRAY - Array of units
 
(2): BOOL - Logic activated
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_zeus_ordnance]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_ambient_audio_loop</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= ambient_audio_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_ambient_audio_loop.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-09-02
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Creates and adds a loop to the internal BIS_fnc_loop which will check if any sounds should be playing
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [] call vn_fnc_ambient_audio_loop
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_ambient_audio_loop]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_drm_delete_audio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dynamic_radio_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_drm_delete_audio.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-26
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Stops object or player from playing audio.
 
 
 
    Parameter(s):
 
    _object - Object which is playing audio [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_drm_delete_audio
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_drm_delete_audio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_drm_play_clients</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dynamic_radio_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_drm_play_clients.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-26
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Plays audio from an object for the client
 
 
 
    Parameter(s):
 
    _config - Config entry for the sound [CONFIG, defaults to CONFIGNULL]
 
    _time - Syncronization time  [NUMBER, defaults to 0]
 
    _side - Side of the audio channel that is playing  [NUMBER, defaults to 0]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [config_entry, 0, 0] call vn_fnc_drm_play_clients
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_drm_play_clients]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_drm_request_audio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dynamic_radio_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_drm_request_audio.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-26
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    No description added yet.
 
 
 
    Parameter(s):
 
    _object - Object which is requesting the audio [OBJECT, defaults to OBJNULL]
 
    _channel - Channel index [NUMBER, defaults to -1]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [radio, 0] call vn_fnc_drm_request_audio
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_drm_request_audio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_drm_useractions</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dynamic_radio_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_drm_useractions.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-03
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Adds actions for the DRM system which the player interacts with
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [] call vn_fnc_drm_useractions
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_drm_useractions]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_drm_localuseractions</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dynamic_radio_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_drm_localuseractions.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-03
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Adds actions for the DRM system to the object
 
 
 
    Parameter(s):
 
    _object - Object to add actions to [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [] call vn_fnc_drm_localuseractions
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_drm_localuseractions]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_drm_usereventhandlers</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dynamic_radio_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_drm_usereventhandlers.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-03
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Adds eventhandlers for all the needed things for DRM
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [] call vn_fnc_drm_userevetnhandlers
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_drm_usereventhandlers]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_drm_setup_server</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dynamic_radio_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_drm_setup_server.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-01
 
    Last Update: 2020-10-01
 
    Public: No
 
 
 
    Description:
 
    Sets up the DRM channels on the server and sets all the audio clips that can play for each
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [parameter] call vn_fnc_drm_setup_server
 
*/
 
// Variable, time, song
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_drm_setup_server]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_drm_setup_client</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dynamic_radio_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_drm_setup_client.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-26
 
    Last Update: 2020-10-26
 
    Public: No
 
 
 
    Description:
 
    Sets up audio objects for backpack radio on clients when they join the server.
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [] spawn vn_fnc_drm_setup_client
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_drm_setup_client]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_sam_dynamic_audio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= situational_awareness_module_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_sam_dynamic_audio.sqf
 
        DATE: 13-06-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Play situational awareness audio locally on users client based on predefined conditions, works for normal play, splended camera &amp; zeus.
 
        PARAMETERS:
 
                (0): TEXT - Audio class to `say3d` from the object
 
                (1): OBJECT - Object to `say3d` the audio
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_sam_dynamic_audio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_whitelisted_arsenal_calculate_access</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= whitelisted_arsenal_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_whitelisted_arsenal_calculate_access.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Adds all client stuff for the whitelisted arsenal funtions
 
        PARAMETERS:
 
                (0): OBJECT - Unit that should be used in the check.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_whitelisted_arsenal_calculate_access]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_whitelisted_arsenal_client</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= whitelisted_arsenal_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_whitelisted_arsenal_client.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Adds all client stuff for the whitelisted arsenal funtions
 
        PARAMETERS:
 
                NONE
 
        RETURNS:
 
                NONE
 
*/
 
 
 
waitUntil {!isNil "vn_whitelisted_arsenal_loadouts" &amp;&amp; {!isNil "vn_whitelisted_arsenal_parameter"}};
 
 
 
 
 
private _equipment = (vn_whitelisted_arsenal_parameter#3);
 
 
 
vn_customarsenalopening = false;
 
private _vn_arsenalopened_function =
 
{
 
        params [["_display",displayNull,[displayNull]]];
 
 
 
        private _is_zeus = !isNull (findDisplay 312);
 
        private _is_admin = call BIS_fnc_admin &gt;= 2;
 
 
 
        switch true do
 
        {
 
                case (!vn_customarsenalopening &amp;&amp; {_is_zeus}):
 
                {
 
                        ["showMessage", [_display, localize "STR_VN_WA_FEEDBACK_ARSENAL_ACCESS_ZEUS"]] call bis_fnc_arsenal;
 
                        false
 
                };
 
                case (!vn_customarsenalopening &amp;&amp; {_is_admin}):
 
                {
 
                        ["showMessage", [_display, localize "STR_VN_WA_FEEDBACK_ARSENAL_ACCESS_ADMIN"]] call bis_fnc_arsenal;
 
                        false
 
                };
 
                case !vn_customarsenalopening:
 
                {
 
                        cutText ["", "BLACK FADED", 0];
 
                        waitUntil{!(isNull (uinamespace getvariable ["RscDisplayArsenal",displayNull]))};
 
                        (uinamespace getvariable "RscDisplayArsenal") closeDisplay 2;
 
                        vn_customarsenalopening = true;
 
                        [] spawn
 
                        {
 
                                [player] call vn_fnc_whitelisted_arsenal_calculate_access;
 
                                ["Open",[false, vn_whitelisted_arsenal_player_whitelist_object, player]] call bis_fnc_arsenal;
 
                                waitUntil{!(isNull (uinamespace getvariable ["RscDisplayArsenal",displayNull]))};
 
                                cutText ["", "BLACK IN", 0.2];
 
                                vn_customarsenalopening = false;
 
                                [(uinamespace getvariable "RscDisplayArsenal")] call vn_fnc_whitelisted_arsenal_override;
 
                        };
 
                        true
 
                };
 
        };
 
};
 
 
 
//Check if the equipment should be restricted
 
if (_equipment in [0,2]) then
 
{
 
        [ missionnamespace, "arsenalOpened", _vn_arsenalopened_function ] call BIS_fnc_addScriptedEventHandler;
 
};
 
 
 
//Check if the vehicles should be restricted
 
if (_equipment in [1,2]) then
 
{
 
        player addEventHandler ["GetInMan",
 
        {
 
                params ["_unit", "_role", "_vehicle", "_turret"];
 
                [player] call vn_fnc_whitelisted_arsenal_calculate_access;
 
                [_vehicle] call vn_fnc_whitelisted_arsenal_vehicle_eject;
 
        }];
 
        player addEventHandler ["SeatSwitchedMan",
 
        {
 
                params ["_unit1", "_unit2", "_vehicle"];
 
                [player] call vn_fnc_whitelisted_arsenal_calculate_access;
 
                [_vehicle] call vn_fnc_whitelisted_arsenal_vehicle_eject;
 
        }];
 
};
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_whitelisted_arsenal_client]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_whitelisted_arsenal_copilot_check</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= whitelisted_arsenal_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_whitelisted_arsenal_copilot_check.sqf
 
        DATE: 28-05-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Check to see if the unit is in a co-pilot seat of a vehicle.
 
        PARAMETERS:
 
                (0): OBJECT - Unit that should be used in the check.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_whitelisted_arsenal_copilot_check]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_whitelisted_arsenal_hint_message</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= whitelisted_arsenal_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_whitelisted_arsenal_hint_message.sqf
 
        DATE: 28-05-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Gets the data from the unit and then compiles that into a message to the player.
 
                Includes ranks that can use X vehicle.
 
                Will hint the message automaticly at the end of the function.
 
        PARAMETERS:
 
                (0): OBJECT - Unit that has gotten into the vehicle.
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_whitelisted_arsenal_hint_message]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_whitelisted_arsenal_vehicle_eject</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= whitelisted_arsenal_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_whitelisted_arsenal_vehicle_eject.sqf
 
        DATE: 28-05-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Gets the vehicle the unit has gotten into and checks it against the vehicles for their current rank.
 
        PARAMETERS:
 
                (0): OBJECT - Vehicle the player has gotten into. Should be used with the "GetInMan" &amp; "SeatSwitchedMan" event handlers
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_whitelisted_arsenal_vehicle_eject]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_whitelisted_arsenal_lbcolor</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= whitelisted_arsenal_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_whitelisted_arsenal_lbcolor.sqf
 
        DATE: 10-06-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Color codes loadouts in the arsenal based on the availability of the items inside them.
 
        PARAMETERS:
 
                (0): DISPLAY - Arsenal display that should be used for messages, gui etc.
 
        RETURNS:
 
                NONE
 
*/
 
 
 
params ["_display"];
 
 
 
if !(ctrlText (_display displayCtrl IDC_RSCDISPLAYARSENAL_TEMPLATE_TITLE) isEqualTo "Load") exitWith {};
 
 
 
private _templatevalues = _display displayCtrl IDC_RSCDISPLAYARSENAL_TEMPLATE_VALUENAME;
 
private _loadoutdata = profileNamespace getVariable ["bis_fnc_saveInventory_data",[]];
 
 
 
['showMessage',[_display,localize "STR_VN_WA_FEEDBACK_ARSENAL_LOADOUT_BLACKLIST"]] call bis_fnc_arsenal;
 
 
 
private _alloweditems = ([""] + (missionNamespace getVariable ["vn_whitelisted_arsenal_alloweditems",[]]));
 
 
 
for "_i" from 0 to (count _loadoutdata - 1) step 2 do
 
{
 
private _name = _loadoutdata select _i;
 
private _data = _loadoutdata select (_i + 1);
 
        private _allowed = true;
 
 
 
        _data params ["_uniformdata","_vestdata","_backpackdata","_headgeardata","_gogglesdata","_binoculardata","_primarydata","_secondarydata","_handgundata","_assigneddata"];
 
 
 
        {
 
                private _type = _x;
 
 
 
                switch (true) do
 
                {
 
                        case (_type isEqualType ""):
 
                        {
 
if !(_type in _alloweditems) then
 
{
 
_allowed = false;
 
};
 
                        };
 
                        case (_type isEqualType []):
 
                        {
 
                                {
 
                                        private _item = _x;
 
if (_item isEqualType []) then
 
{
 
{
 
if !(_x in _alloweditems) then
 
                                {
 
                                        _allowed = false;
 
                                };
 
} foreach _item;
 
}
 
else
 
{
 
if !(_item in _alloweditems) then
 
                                        {
 
                                                _allowed = false;
 
                                        };
 
};
 
                                }foreach _type;
 
                        };
 
                };
 
        }foreach [_uniformdata,_vestdata,_backpackdata,_headgeardata,_googlesdata,_binoculardata,_primarydata,_secondarydata,_handgundata];
 
private _color = [[0.867,0.369,0.031,1],[1,1,1,1]] select _allowed;
 
 
 
for "_i" from 0 to (( lnbSize _templatevalues ) select 0 ) - 1 do
 
{
 
if (_templatevalues lnbText [ _i, 0 ] isEqualTo _name) then
 
{
 
_templatevalues lnbSetColor [[ _i, 0 ], _color];
 
_templatevalues lbSetValue [_i, 1];
 
};
 
};
 
};
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_whitelisted_arsenal_lbcolor]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_whitelisted_arsenal_loadinventory</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= whitelisted_arsenal_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_whitelisted_arsenal_loadinventory.sqf
 
        DATE: 10-06-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Adds loadout to character while also listing objects that have been skipped.
 
        PARAMETERS:
 
                (0): OBJECT - Object that will have the items added to it.
 
                (0): ARRAY - Settings that are used to get the inventory.
 
                (0): ARRAY - Array of allowed items that will be checked against to confirm loadouts.
 
        RETURNS:
 
                STRING
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_whitelisted_arsenal_loadinventory]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_whitelisted_arsenal_override</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= whitelisted_arsenal_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_whitelisted_arsenal_override.sqf
 
        DATE: 10-06-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Master file that contains all the gui overrides for the arsenal when whitelisted arsenal is enabled.
 
        PARAMETERS:
 
                (0): DISPLAY - Arsenal display for the override to run on.
 
        RETURNS:
 
                NONE
 
*/
 
 
 
params ["_display"];
 
//= Random button removal
 
(_display displayCtrl IDC_RSCDISPLAYARSENAL_CONTROLSBAR_BUTTONRANDOM) ctrlSetText "";
 
(_display displayCtrl IDC_RSCDISPLAYARSENAL_CONTROLSBAR_BUTTONRANDOM) ctrlSetTooltip "";
 
(_display displayCtrl IDC_RSCDISPLAYARSENAL_CONTROLSBAR_BUTTONRANDOM) ctrlEnable false;
 
(_display displayCtrl IDC_RSCDISPLAYARSENAL_CONTROLSBAR_BUTTONRANDOM) ctrlRemoveAllEventHandlers "buttonclick";
 
_display displayAddEventHandler ["KeyDown",
 
{
 
        params ["_displayorcontrol", "_key", "_shift", "_ctrl", "_alt"];
 
        if (_key isEqualTo DIK_R &amp;&amp; _ctrl) then {true} else {false};
 
}];
 
 
 
private _loadbutton = _display displayCtrl IDC_RSCDISPLAYARSENAL_TEMPLATE_BUTTONOK;
 
_loadbutton ctrlRemoveAllEventHandlers "buttonclick";
 
_loadbutton ctrlAddEventHandler ["buttonclick",
 
{
 
        with uinamespace do { [ctrlparent (_this select 0)] call vn_fnc_whitelisted_arsenal_templateokbutton; };
 
}];
 
 
 
_deletebutton = _display displayctrl IDC_RSCDISPLAYARSENAL_TEMPLATE_BUTTONDELETE;
 
_deletebutton ctrlRemoveAllEventHandlers "buttonclick";
 
_deletebutton ctrladdeventhandler ["buttonclick",
 
{
 
        with uinamespace do
 
        {
 
                ['buttonTemplateDelete',[ctrlparent (_this select 0)]] call bis_fnc_arsenal;
 
                [ctrlparent (_this select 0)] call vn_fnc_whitelisted_arsenal_lbcolor;
 
        };
 
}];
 
 
 
private _lblist = _display displayCtrl IDC_RSCDISPLAYARSENAL_TEMPLATE_VALUENAME;
 
_lblist ctrlRemoveAllEventHandlers "lbdblclick";
 
_lblist ctrlAddEventHandler ["lbdblclick",
 
{
 
        with uinamespace do { [ctrlparent (_this select 0)] call vn_fnc_whitelisted_arsenal_templateokbutton; };
 
}];
 
 
 
//VA button down, needed to override ENTER on template listbox
 
_display displayRemoveAllEventHandlers "keyDown";
 
_display displayAddEventHandler ["keyDown",
 
{
 
        params ["_display","_key","_shift","_ctrl","_alt"];
 
        private _return = false;
 
        if (_ctrl &amp;&amp; {_key in [DIK_RETURN,DIK_NUMPADENTER]}) then
 
        {
 
                _ctrlTemplate = _display displayCtrl IDC_RSCDISPLAYARSENAL_TEMPLATE_TEMPLATE;
 
if (ctrlFade _ctrlTemplate isEqualTo 0) then
 
                {
 
if (BIS_fnc_arsenal_type isEqualTo 0) then
 
                        {
 
[_display] call vn_fnc_whitelisted_arsenal_templateokbutton;
 
                                _return = true;
 
};
 
};
 
        };
 
        _return
 
}];
 
 
 
_bottomloadbutton = _display displayctrl IDC_RSCDISPLAYARSENAL_CONTROLSBAR_BUTTONLOAD;
 
_bottomloadbutton ctrlRemoveAllEventHandlers "buttonclick";
 
_bottomloadbutton ctrlAddEventHandler ["buttonclick",
 
{
 
        with uinamespace do
 
        {
 
                ['buttonLoad',[ctrlparent (_this select 0)]] call bis_fnc_arsenal;
 
                [ctrlparent (_this select 0)] call vn_fnc_whitelisted_arsenal_lbcolor;
 
        };
 
}];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_whitelisted_arsenal_override]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_whitelisted_arsenal_templateokbutton</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= whitelisted_arsenal_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_whitelisted_arsenal_templateokbutton.sqf
 
        DATE: 10-06-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Takes over the confirm button for the loadouts and can do custom things on save/load.
 
        PARAMETERS:
 
                (0): DISPLAY - Display for the arsenal.
 
        RETURNS:
 
                NONE
 
*/
 
 
 
params ["_display"];
 
private _center = (missionNamespace getVariable ["BIS_fnc_arsenal_center",player]);
 
private _hidetemplate = true;
 
private _notification = "";
 
 
 
private _ctrlTemplateName = _display displayCtrl IDC_RSCDISPLAYARSENAL_TEMPLATE_EDITNAME;
 
if (ctrlEnabled _ctrlTemplateName) then
 
{
 
        [
 
_center,
 
[profileNamespace,ctrlText _ctrlTemplateName],
 
[
 
_center getVariable ["BIS_fnc_arsenal_face",face _center],
 
speaker _center,
 
_center call BIS_fnc_getUnitInsignia
 
]
 
] call BIS_fnc_saveInventory;
 
        ['showTemplates',[_display]] call (uinamespace getvariable (["bis_fnc_arsenal","bis_fnc_garage"] select BIS_fnc_arsenal_type));
 
}
 
else
 
{
 
        private _ctrltemplate =  _display displayCtrl IDC_RSCDISPLAYARSENAL_TEMPLATE_VALUENAME;
 
if ((_ctrltemplate lbValue lnbCurSelRow _ctrltemplate) &gt;= 0) then
 
        {
 
                private _inventory = _ctrltemplate lnbText [lnbCurSelRow _ctrltemplate,0];
 
                private _alloweditems = missionNamespace getVariable ["vn_whitelisted_arsenal_alloweditems",[]];
 
_notification = [_center,[profileNamespace,_inventory], _alloweditems] call vn_fnc_whitelisted_arsenal_loadinventory;
 
 
 
//--- Load custom data
 
_ctrltemplate = _display displayCtrl IDC_RSCDISPLAYARSENAL_TEMPLATE_VALUENAME;
 
_data = profileNamespace getVariable ["bis_fnc_saveInventory_data",[]];
 
_name = _ctrltemplate lnbText [lnbCurSelRow _ctrltemplate,0];
 
_nameID = _data find _name;
 
if (_nameID &gt;= 0) then
 
                {
 
_inventory = _data select (_nameID + 1);
 
_inventoryCustom = _inventory select 10;
 
if ((count _inventoryCustom) isEqualTo 3) then
 
                        {
 
                                _inventoryCustom params [["_face","",[""]],["_speaker","",[""]],["_insignia","",[""]]];
 
_center setFace _face;
 
_center setVariable ["BIS_fnc_arsenal_face",_face];
 
_center setSpeaker _speaker;
 
[_center,_insignia] call BIS_fnc_setUnitInsignia;
 
};
 
};
 
["ListSelectCurrent",[_display]] call BIS_fnc_arsenal;
 
}
 
        else
 
        {
 
_hideTemplate = false;
 
};
 
};
 
 
 
 
 
 
 
if (_hideTemplate) then
 
{
 
        if !(_notification isEqualTo "") then
 
        {
 
                [_display,_notification] spawn
 
                {
 
                        params ["_display","_notification"];
 
                        ['showMessage',[_display,localize "STR_VN_WA_FEEDBACK_ARSENAL_LOADOUT_ITEMS_RESTRICTED"]] call bis_fnc_arsenal;
 
                        [_notification, localize "STR_VN_WA_FEEDBACK_ARSENAL_LOADOUT_ITEMS_WARNING", localize "STR_VN_WA_FEEDBACK_ARSENAL_LOADOUT_ITEMS_CONTINUE", false, _display, false, false] call BIS_fnc_guiMessage;
 
                };
 
        };
 
};
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_whitelisted_arsenal_templateokbutton]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_log_useractions</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= logistics_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_log_useractions.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Adds actions for players for the logistics module.
 
        PARAMETERS:
 
                NONE
 
        RETURNS:
 
                NONE
 
*/
 
 
 
// Actions are on the player rather then objects because we can limit the number of actions to 3 rather then for each object in the mission.
 
// Variables for the player actions.
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_log_useractions]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_log_openlogisticsinventory</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= logistics_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_log_openlogisticsinventory.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Opens logistics inventory of the vehicle passed to this function.
 
                Also used when inventory is reloaded e.g when an item is taken out of a inventory that is in use.
 
        PARAMETERS:
 
                (0): OBJECT - Player object.
 
                (1): NUMBER - Cursor object that the player is looking at.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_log_openlogisticsinventory]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_log_pickuplogisticitem</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= logistics_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_log_pickuplogisticitem.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Picks up object the player is looking at. Creates a loop that moves the object in the direction of the players camera.
 
                Stops when player dies, places object, gets into a vehicle or becomes incapacitated.
 
        PARAMETERS:
 
                (0): OBJECT - Player object.
 
                (1): NUMBER - Cursor object that the player is looking at.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_log_pickuplogisticitem]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_log_placelogisticitem</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= logistics_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_log_placelogisticitem.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Adds actions for players for the logistics module.
 
        PARAMETERS:
 
                (0): OBJECT - Player object.
 
                (1): NUMBER - Cursor object that the player is looking at.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_log_placelogisticitem]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_log_loadlogisticitem</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= logistics_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_log_openlogisticsinventory.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Loads object into vehicle, removes it from the world.
 
        PARAMETERS:
 
                (0): OBJECT - Player object.
 
                (1): NUMBER - Cursor object that the player is looking at.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_log_loadlogisticitem]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_log_unloadlogisticitem</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= logistics_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_log_unloadlogisticitem.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Adds actions for players for the logistics module.
 
        PARAMETERS:
 
                (0): OBJECT - Object that has the object loaded into it
 
                (1): NUMBER - Index for the item in the listbox. Used for unloading &amp; removal from the vehicle's virtual inventory.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_log_unloadlogisticitem]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_log_getinventory</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= logistics_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_log_getinventory.sqf
 
        DATE: 01-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Returns the inventory of the vehicle passed through to the function
 
        PARAMETERS:
 
                (0): OBJECT - Object/vehicle that the inventory should be checked
 
        RETURNS:
 
                ARRAY
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_log_getinventory]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_log_isloaded</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= logistics_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_log_isloaded.sqf
 
        DATE: 01-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Checks if the object is loaded at all or if a vehicle is also passed checks if the object is loaded in the vehicle.
 
If vehicle is objnull then it will just check if the object is loaded in any vehicle.
 
        PARAMETERS:
 
                (0): OBJECT - Object that maybe loaded
 
                (1): OBJECT - Vehicle inventory that will be checked.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_log_isloaded]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_addEventHandlers</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_addEventHandlers.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Master actions function, contains all the event handlers for the advanded revive functions.
 
        PARAMETERS:
 
                NONE
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_addEventHandlers]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_coreinit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_revive_coreinit.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-03
 
    Last Update: 2020-06-21
 
    Public: No
 
 
 
    Description:
 
    The main advanced revive core loop
 
 
 
    Parameter(s):
 
    _unit - Description [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_revive_coreinit
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_coreinit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_handledamage</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_handlerdamage.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Damage handler for the advanced revive
 
        PARAMETERS:
 
                (0): OBJECT - The unit the eventhandler is assigned to
 
                (1): NIL - This index is not used
 
                (2): NUMBER - Damage value
 
        RETURNS:
 
                NUMBER or NIL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_handledamage]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_keydown</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_keydown.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Key handler for the revive system
 
        PARAMETERS:
 
                (0): DISPLAY - Display that the event handler is assigned to
 
                (1): NUMBER - Key that is being pressed
 
                (2): BOOL - Shift key pressed
 
                (3): BOOL - Ctrl key pressed
 
                (4): BOOL - Alt key pressed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_keydown]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_mousedown</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_mousedown.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Mouse handler for the revive system
 
        PARAMETERS:
 
                (0): DISPLAY - Display that the event handler is assigned to
 
                (1): NUMBER - Mouse button number
 
                (2): NUMBER - Mouse X pos
 
                (3): NUMBER - Mouse Y pos
 
                (4): BOOL - Shift key pressed
 
                (5): BOOL - Ctrl key pressed
 
                (6): BOOL - Alt key pressed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_mousedown]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_actions</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_actions.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Master actions function, contains all the conditions for the advanded revive functions.
 
        PARAMETERS:
 
                NONE
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_actions]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_actions_local</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_revive_actions_local.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-09-25
 
    Last Update: 2020-09-26
 
    Public: No
 
 
 
    Description:
 
    Local action function for downed units and AI
 
 
 
    Parameter(s):
 
    _unit - Unit to add actions to [OBJECT, defaults to OBJNULL]
 
    _remove - Do you want the actions removed from the object [BOOL, defaults to FALSE]
 
    _ai - Is this unit an AI [BOOL, defaults to FALSE]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player,false,false] call vn_fnc_revive_actions_local;
 
    [_ai,false,true] call vn_fnc_revive_actions_local;
 
    [_dead_ai,true,true] call vn_fnc_revive_actions_local;
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_actions_local]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_heal</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_heal.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player heal action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_heal]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_revive</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_revive.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player revive action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_revive]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_withstand</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_withstand.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player withstand action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_withstand]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_respawn</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_respawn.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player respawn action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_respawn]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_grenade</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_grenade.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Player action function for grenade suicice
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_grenade]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_roll</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_roll.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Player action function for roll onto back function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_roll]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_loadplayer</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_loadplayer.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player loading action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_loadplayer]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_unloadplayers</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_unloadplayer.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player unloading action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_unloadplayers]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_pickupplayer</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_pickupplayer.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player picking up action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_pickupplayer]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_dragplayer</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_dragplayer.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player dragging action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_dragplayer]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_dragplayer_client</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_dragplayer_client.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Client function for the dragging of a player, sets their animation &amp; changes their direction to make sure they face the correct direction
 
        PARAMETERS:
 
                (0): OBJECT - Unit which will play animation &amp; be turned around
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_dragplayer_client]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_undragplayer</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_undragplayer.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player undragging action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_undragplayer]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_action_dropplayer</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_action_dropplayer.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main player dropping action function
 
        PARAMETERS:
 
                (0): OBJECT - The unit that the action is being performed on
 
                (1): NUMBER - The type of action that is being performed
 
        RETURNS:
 
                BOOL
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_action_dropplayer]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_detachunit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_revive_detachunit.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-03
 
    Last Update: 2020-06-02
 
    Public: No
 
 
 
    Description:
 
    Takes unit and detaches any attached objects which are incapicated players / ai
 
 
 
    Parameter(s):
 
    _unit - Unit that is the attached unit OR Unit that has others attached [OBJECT]
 
    _attached - Use attached units from the original unit [BOOL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player, true] call vn_fnc_revive_detachunit
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_detachunit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_detachunit_local</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_revive_detachunit_local.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-25
 
    Last Update: 2020-06-02
 
    Public: No
 
 
 
    Description:
 
    Client version of the detachunit function, uncons the player &amp; fixes their animation.
 
 
 
    Parameter(s):
 
    _unit - Unit which is detached from its carrier [OBJECT]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_revive_detach_local;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_detachunit_local]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_conversation</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_conversation.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Main conversation function, remote execs dynamic audio fucntion to clients
 
        PARAMETERS:
 
                (0): OBJECT - The object playing the audio
 
                (1): STRING - The action context to determine which audio to play
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_conversation]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_dynamic_audio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_dynamic_audio.sqf
 
        DATE: 25-10-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Play an audio file including distance version if required, works for normal play, splended camera &amp; zeus.
 
        PARAMETERS:
 
                (0): TEXT - Audio class to `say3d` from the object
 
                (1): OBJECT - Object to `say3d` the audio
 
                (2): BOOL - If distance audio should be played. Should only return true if action is calling for help
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_dynamic_audio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_setup_audio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_setup_audio.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Revive audio setup function
 
        PARAMETERS:
 
                NONE
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_setup_audio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_zeus_revive</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_zeus_revive.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Zeus revive module
 
        PARAMETERS:
 
                (0): OBJECT - Logic object
 
                (1): ARRAY - Array of units
 
                (2): BOOL - Logic activated
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_zeus_revive]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_zeus_heal</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_zeus_heal.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Zeus healing module
 
        PARAMETERS:
 
                (0): OBJECT - Logic object
 
                (1): ARRAY - Array of units
 
                (2): BOOL - Logic activated
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_zeus_heal]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_zeus_uncon</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_zeus_uncon.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Zeus ucnon module, remote executes the _clietn function on the client who is being revived.
 
        PARAMETERS:
 
(0): OBJECT - Logic object
 
(1): ARRAY - Array of units
 
(2): BOOL - Logic activated
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_zeus_uncon]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_zeus_uncon_client</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_revive_zeus_uncon_client.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Zeus ucnon module client function
 
        PARAMETERS:
 
                (0): OBJECT - Unit which is being revived
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_zeus_uncon_client]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_incap</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_revive_incap.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-09-06
 
    Last Update: 2020-09-06
 
    Public: No
 
 
 
    Description:
 
    No description added yet.
 
 
 
    Parameter(s):
 
    _unit - Unit to be checked [OBJECT, defaults to cursorObject];
 
 
 
    Returns:
 
    Unit is incapacitated [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_revive_incap
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_incap]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_moving</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_revive_moving.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-09-06
 
    Last Update: 2020-09-06
 
    Public: No
 
 
 
    Description:
 
    Check function for checking that unit is not being moved/moving another unit
 
 
 
    Parameter(s):
 
    _unit - Unit to be checked [OBJECT, defaults to cursorObject];
 
 
 
    Returns:
 
    Unit is not being moved/moving another object [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_revive_moving
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_moving]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_fix_movement</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_revive_fix_movement.sqf
 
    Author: Ethan Johnson
 
    Date: 2021-04-23
 
    Last Update: 2021-04-23
 
    Public: No
 
 
 
    Description:
 
    Fixes the movement issues that occur with the incap animation system.
 
 
 
    Parameter(s):
 
    _unit - Unit to be checked [OBJECT, defaults to cursorObject];
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_revive_fix_movement
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_revive_fix_movement]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_revive_terminal_animation</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= advanced_revive_functions
 
 
 
|d= ''N/A''
 
 
 
|s= [] call [[VN_fnc_revive_terminal_animation]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_qol_earplugs</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= qol_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_qol_earplugs.sqf
 
        DATE: 24-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Earplugs module function
 
        PARAMETERS:
 
                NONE
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_qol_earplugs]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_cinematic_play</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= cinematic_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_cinematic_play.sqf
 
        DATE: 25-11-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Cinematic playing function, plays cinematic based off synced camera shots to the master cinematic module
 
        PARAMETERS:
 
                (0): OBJECT - Mster cinematic module aka. the 'head' of the module snake
 
        RETURNS:
 
                NONE
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_cinematic_play]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_tunnel_spawn_trap</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tunnel_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tunnel_spawn_trap.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-03
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Spawns a trap and explodes it to kill the player and anyone around them
 
 
 
    Parameter(s):
 
    _object - Object which will be used as the position to spawn the explosive at [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [tunnel] call vn_fnc_tunnel_spawn_trap
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_tunnel_spawn_trap]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_tunnel_init_actions</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tunnel_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tunnel_init_actions.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-22
 
    Last Update: 2020-06-26
 
    Public: No
 
 
 
    Description:
 
    Client side actions function, includes action
 
 
 
    Parameter(s):
 
    _tunnel_trapdoor - Entry object [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [trapdoor_01,trapdoor_02] call vn_fnc_init_actions
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_tunnel_init_actions]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_tunnel_spawn_units</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tunnel_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tunnel_spawn_units.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-09-01
 
    Last Update: 2020-09-01
 
    Public: No
 
 
 
    Description:
 
    Spawns units in a single group in the groupt of tunnels provided to the function
 
 
 
    Parameter(s):
 
    _tunnels - Array of tunnel objects [ARRAY, defaults to []]
 
    _side - Side to spawn units in [SIDE, defaults to EAST]
 
    _count - Number of units to spawn [NUMBER, defaults to 16]
 
    _classnames - Number of units to spawn [ARRAY, defaults to []]
 
 
 
    Returns:
 
    Group created by the function [GROUP]
 
 
 
    Example(s):
 
    [_tunnels, [west,east,independent] select _garrison_side, _size, _classnames] call vn_fnc_tunnel_spawn_units;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_tunnel_spawn_units]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_tunnel_trigger</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tunnel_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tunnel_trigger.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-11-12
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    No description added yet.
 
 
 
    Parameter(s):
 
    _position - Position which will be used as the position for the trigger [ARRAY, defaults to []]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [[0,0,0]] call vn_fnc_tunnel_trigger
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_tunnel_trigger]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_tunnel_exit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tunnel_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tunnel_exit.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-12-01
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Exits the player from the tunnel, if the player entered then they will be placed on their old position, if not then they will be teleported to the tunnel entrance object
 
 
 
    Parameter(s):
 
    _tunnel - Tunnel object which will be used to get the entry object [OBJECT, defaults to OBJNULL]
 
    _caller - Unit which is calling the action which will be teleported [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [tunnel, player] call vn_fnc_tunnel_exit
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_tunnel_exit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_tunnel_aperture</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tunnel_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tunnel_aperture.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-12-08
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Sets the aperture of the users view camera which makes tunnels darker in the day without affecting other users/ the world.
 
 
 
    Parameter(s):
 
    _value - Value of the terrain brightness, used to determien how dark to make the aperture [NUMBER, defaults to -1]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [-1] call vn_fnc_tunnel_aperture
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_tunnel_aperture]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_masterarm</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= masterarm_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_masterarm.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Master arm master function, setups and creates the display &amp; everything it needs
 
        PARAMETERS:
 
(0): STRING - Mode to call for the menu
 
(1): ARRAY - Params for chosen mode
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_masterarm]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_masterarm_actions</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= masterarm_functions
 
 
 
|d= &lt;pre&gt;/*
 
        FILE: fn_masterarm_actions.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Master arm action function, adds action to the player
 
        PARAMETERS:
 
                NONE
 
        RETURNS:
 
                NONE
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_masterarm_actions]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_bombard</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_bombard.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-14
 
    Last Update: 2020-06-12
 
    Public: No
 
 
 
    Description:
 
    Main bombard function
 
 
 
    Parameter(s):
 
    _start_pos - Starting position [ARRAY]
 
    _end_pos - Ending position [ARRAY]
 
    _unit - Unit who called in the request [OBJECT]
 
    _params - Params array which contains the index's for the selected values [ARRAY]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [[0,0,0],[0,100,0],man1,[0,0],"Aero 1-3"] call vn_fnc_artillery_bombard
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_bombard]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_init.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-02
 
    Last Update: 2020-06-12
 
    Public: No
 
 
 
    Description:
 
    Init function for artillery module
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    NONE
 
 
 
    Example(s):
 
    call vn_fnc_artillery_init
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_menu</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_menu.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-04-29
 
    Last Update: 2020-06-09
 
    Public: Yes
 
 
 
    Description:
 
    Artillery master fuction for the menu
 
 
 
    Parameter(s):
 
    _mode - Mode to call for the menu [STRING, defaults to ""]
 
    _params - Mode to call for the menu [ARRAY, defaults to []]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    ["init"] call vn_fnc_artillery_menu
 
*/
 
 
 
#define DISPLAY (uiNamespace getVariable ["vn_artillery_display",displayNull])
 
 
 
#define TITLE    (DISPLAY displayctrl 350)
 
 
 
#define CALLSIGN_LIST    (DISPLAY displayctrl 102)
 
#define AMMO_LIST    (DISPLAY displayctrl 103)
 
#define AMMO_DESCRIPTION    (DISPLAY displayctrl 203)
 
#define AMOUNT_COMBO    (DISPLAY displayctrl 104)
 
#define BUTTON  (DISPLAY displayctrl 105)
 
#define MAP    (DISPLAY displayctrl 7001)
 
 
 
#define AMMO_INDEX    (lbCurSel AMMO_LIST)
 
#define CALLSIGN_INDEX    (lbCurSel CALLSIGN_LIST)
 
#define CALLSIGN_VALUE    (CALLSIGN_LIST lbValue (lbCurSel CALLSIGN_LIST))
 
#define AMOUNT_INDEX    (lbCurSel AMOUNT_COMBO)
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_menu]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_message</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_message.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-05
 
    Last Update: 2020-06-12
 
    Public: No
 
 
 
    Description:
 
    Artillery message function which plays a message in side chat for the player
 
 
 
    Parameter(s):
 
    _type - Artillery type [STRING, defaults to ""]
 
    _id - ID/Group name [STRING, defaults to ""]
 
    _unit - Unit calling in the request [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [] call vn_fnc_artillery_message;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_message]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_server_check</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_server_check.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-04
 
    Last Update: 2020-06-12
 
    Public: No
 
 
 
    Description:
 
    Server side check for the artillery request, makes sure the request isn't in a safezone or near a respawn point
 
 
 
    Parameter(s):
 
    _params - Combo box index array [ARRAY]
 
    _start_pos - Starting position [ARRAY]
 
    _end_pos - Ending position [ARRAY]
 
    _unit - The unit calling in the request [OBJECT]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [parameter] call vn_fnc_myFunction
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_server_check]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_radio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_radio.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-13
 
    Last Update: 2020-06-12
 
    Public: No
 
 
 
    Description:
 
    Function to determine if the player has access to the artillery menu request
 
 
 
    Parameter(s):
 
    _unit - Unit attempting to call the request [OBJECT, defaults to PLAYER]
 
 
 
    Returns:
 
    If the player has a radio based on config settings [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_artillery_radio
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_radio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_resupply</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_resupply.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-04
 
    Last Update: 2020-06-12
 
    Public: No
 
 
 
    Description:
 
    Server side script for resupply call from a player
 
 
 
    Parameter(s):
 
    _params - Combo box index array [ARRAY]
 
    _start_pos - Starting position [ARRAY]
 
    _end_pos - Ending position [ARRAY]
 
    _unit - The unit calling in the request [OBJECT]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [parameter] call vn_fnc_artillery_resupply
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_resupply]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_transport</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_transport.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-04
 
    Last Update: 2020-06-12
 
    Public: No
 
 
 
    Description:
 
    Server side script for transport call from a player.
 
 
 
    Parameter(s):
 
    _params - Combo box index array [ARRAY]
 
    _start_pos - Starting position [ARRAY]
 
    _end_pos - Ending position [ARRAY]
 
    _unit - The unit calling in the request [OBJECT]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [parameter] call vn_fnc_artillery_transport
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_transport]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_score_set</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_score_set.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-13
 
    Last Update: 2020-06-12
 
    Public: No
 
 
 
    Description:
 
    Sets the score variable +/- the cost that is passed through to the function
 
 
 
    Parameter(s):
 
    _cost - Cost of the request [NUMBER]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [parameter] call vn_fnc_artillery_score_set
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_score_set]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_plane</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_plane.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-25
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Spawns a plane with predetermined settings from the artillery module GUI
 
 
 
    Parameter(s):
 
    _i - Index of this plane's run [NUMBER]
 
    _planeCfg - Plane config [CONFIG]
 
    _vehicle_class - Plane classname [STRING]
 
    _start_pos - Start position for the run  [ARRAY]
 
    _end_pos - End position for the run [ARRAY]
 
    _amount_index - Number of total runs [NUMBER]
 
    _magazine - Array of magazines which will be fired from the vehicle [ARRAY]
 
    _unit - Unit that called the artillery [OBJECT]
 
    _illumination - Is the artillery run an illumination run [NUMBER]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [0, configfile &gt;&gt; "cfgvehicles" &gt;&gt; "aircraft_class", "aircraft_class", [0,0,0], [100,100,0], 0, ["rockets"], player, 0] call vn_fnc_artillery_plane
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_plane]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_heli</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_heli.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-25
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Spawns a helicopter with predetermined settings from the artillery module GUI
 
 
 
    Parameter(s):
 
    _i - Index of this heli's run [NUMBER]
 
    _planeCfg - Heli config [CONFIG]
 
    _vehicle_class - Plane classname [STRING]
 
    _start_pos - Start position for the run  [ARRAY]
 
    _end_pos - End position for the run [ARRAY]
 
    _amount_index - Number of total runs [NUMBER]
 
    _magazine - Array of magazines which will be fired from the vehicle [ARRAY]
 
    _unit - Unit that called the artillery [OBJECT]
 
    _illumination - Is the artillery run an illumination run [BOOL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [0, configfile &gt;&gt; "cfgvehicles" &gt;&gt; "aircraft_class", "aircraft_class", [0,0,0], [100,100,0], 0, ["rockets"], player, false] call vn_fnc_artillery_heli
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_heli]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_actions</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_actions.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-27
 
    Last Update: 2020-06-27
 
    Public: No
 
 
 
    Description:
 
    Adds radio action to players and the respawn eventhandler to add actions when they respawn.
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Action added to player passed [BOOL]
 
 
 
    Example(s):
 
    [] call vn_fnc_artillery_actions
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_actions]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_bomb_guide</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_bomb_guide.sqf
 
    Author: Ethan Johnson
 
    Date: 2021-01-15
 
    Last Update: 2021-01-15
 
    Public: No
 
 
 
    Description:
 
    Guides a bomb through velocity transformation so it always hits the target
 
 
 
    Parameter(s):
 
    _projectile - Projectile object [OBJECT, defaults to OBJNULL]
 
    _target - Target object [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [bomb, player] call vn_fnc_artillery_bomb_guide
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_bomb_guide]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_commando_vault</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_ammo_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_commando_vault.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-07-10
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Runs the commando vault function.
 
 
 
    Parameter(s):
 
    _position - Position at which to spawn the bomb [ARRAY, defaults to []]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [[0,0,0]] call vn_fnc_artillery_commando_vault
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_commando_vault]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_arc_light</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_ammo_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_arc_light.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-27
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Function which spawns the bombs for the Arc Light artillery mission
 
 
 
    Parameter(s):
 
    _start_pos - Position at which the bombing run should start [ARRAY]
 
    _unit - Unit which called in the run [OBJECT]
 
    _end_pos - Position at which the bombing run should end [ARRAY]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [[0,0,0],player,[100,100,0]] call vn_fnc_artillery_arc_light
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_arc_light]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_artillery_dawn_1</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= artillery_ammo_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_artillery_dawn_1.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-11-04
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Spawns the illumination rounds for the scripted illumination artillery rounds
 
 
 
    Parameter(s):
 
    _position - Position which will be used to determine where the illumination [ARRAY]
 
 
 
    Returns:
 
    NOTHING
 
 
 
    Example(s):
 
    [[0,0,0]] call vn_fnc_artillery_dawn_1
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_artillery_dawn_1]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_water_fall</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= water_fall_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_water_fall.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-11-13
 
    Last Update: 2020-11-13
 
    Public: No
 
 
 
    Description:
 
    Main function for the water fall module.
 
 
 
    Parameter(s):
 
    _object - Object which will handle the particle source [OBJECT, defaults to OBJNULL]
 
    _speed - Speed at which the particles should leave the source [NUMBER, defaults to 1]
 
    _size - Size of the particles when they spawn [NUMBER, defaults to 1]
 
    _coeff - Multiplier which will be used with the size of the particles at the end of the fall [NUMBER, defaults to 10]
 
    _lifetime - Lifetime of the particles [NUMBER, defaults to 5]
 
 
 
    Returns:
 
    Particle source object [OBJECT]
 
 
 
    Example(s):
 
    [parameter] call vn_fnc_myFunction
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_water_fall]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_moduleHvtObjectives</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_endgame
 
 
 
|d= &lt;pre&gt;#define INSTANCE { _this call vn_fnc_moduleHvtObjectivesInstance; }
 
#define OBJECTIVE { _this call vn_fnc_moduleHvtObjective; }
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_moduleHvtObjectives]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_moduleHvtObjectivesInstance</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_endgame
 
 
 
|d= &lt;pre&gt;#define SELF { _this call vn_fnc_moduleHvtObjectivesInstance; }
 
#define OBJECTIVE { _this call vn_fnc_moduleHvtObjective; }
 
#define VAR_INITIALIZED "BIS_moduleHvtObjectivesInstance_initialized"
 
#define VAR_LOGIC "BIS_moduleHvtObjectivesInstance_logic"
 
#define VAR_SIDES_WITH_FOB "BIS_moduleHvtObjectivesInstance_sidesWithFob"
 
#define VAR_ENDGAME_OBJECTIVE "BIS_moduleHvtObjectivesInstance_endGameObjective"
 
#define VAR_ENDGAME_THRESHOLD "BIS_moduleHvtObjectivesInstance_endGameThreshold"
 
#define VAR_RANDOMISERS "BIS_moduleHvtObjectivesInstance_randomisers"
 
#define VAR_OBJECTIVES "BIS_moduleHvtObjectivesInstance_objectives"
 
#define VAR_OBJECTIVES_ORDERED "BIS_moduleHvtObjectivesInstance_objectivesOrdered"
 
#define VAR_COMPLETED_OBJECTIVES "BIS_moduleHvtObjectivesInstance_completedObjectives"
 
#define VAR_SIDES "BIS_moduleHvtObjectivesInstance_sides"
 
#define VAR_BASES "BIS_moduleHvtObjectivesInstance_bases"
 
#define VAR_BASE_SIDE "BIS_moduleHvtObjectivesInstance_baseSide"
 
#define VAR_MISSION_FLOW_FSM "BIS_moduleHvtObjectivesInstance_fsm"
 
#define CLASS_OBJECTIVE_RANDOMISER "vn_modulehvtobjectiverandomiser_f"
 
#define CLASS_SIMPLE_OBJECTIVE "vn_modulehvtsimpleobjective_f"
 
#define CLASS_STARTGAME_OBJECTIVE "vn_modulehvtstartgameobjective_f"
 
#define CLASS_ENDGAME_OBJECTIVE "vn_modulehvtendgameobjective_f"
 
#define LOG_NETWORK_TRAFFIC cheatsEnabled
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_moduleHvtObjectivesInstance]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_moduleHvtObjective</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_endgame
 
 
 
|d= &lt;pre&gt;#define SELF { _this call vn_fnc_moduleHvtObjective; }
 
#define INSTANCE { _this call vn_fnc_moduleHvtObjectivesInstance; }
 
#define CLASS_OBJECTIVES "CfgHvtObjectives"
 
#define VAR_INITIALIZED "BIS_moduleHvtObjective_initialized"
 
#define VAR_WINNERS "BIS_moduleHvtObjective_winners"
 
#define VAR_LOOSERS "BIS_moduleHvtObjective_loosers"
 
#define VAR_IS_DRAW "BIS_moduleHvtObjective_isDraw"
 
#define VAR_CANCELED "BIS_moduleHvtObjective_canceled"
 
#define VAR_FAILED "BIS_moduleHvtObjective_failed"
 
#define VAR_SUCCEEDED "BIS_moduleHvtObjective_succeeded"
 
#define VAR_TYPE "BIS_moduleHvtObjective_type"
 
#define VAR_KIND "BIS_moduleHvtObjective_kind"
 
#define VAR_FSM "BIS_moduleHvtObjective_fsm"
 
#define VAR_FSM_PATH "BIS_moduleHvtObjective_fsmPath"
 
#define VAR_VISIBLE "BIS_moduleHvtObjective_visible"
 
#define VAR_REVEALED_TO "BIS_moduleHvtObjective_revealedTo"
 
#define VAR_IS_INDEPENDENT "BIS_moduleHvtObjective_isIndependent"
 
#define VAR_ENDED "BIS_moduleHvtObjective_ended"
 
#define VAR_OBJECTS "BIS_moduleHvtObjective_objects"
 
#define VAR_CLUTTER "BIS_moduleHvtObjective_clutter"
 
#define VAR_SIMULATIONDISABLED "BIS_moduleHvtObjective_simulationDisabled"
 
#define VAR_OBJECTIVE_OWNER "BIS_moduleHvtObjective_objectiveOwner"
 
#define VAR_OBJECTIVE_LETTER "BIS_moduleHvtObjective_objectiveLetter"
 
#define IS_PUBLIC true
 
#define IS_LOCAL false
 
 
 
// Objective variables
 
#define VAR_DOWNLOAD_OBJECT "DownloadObject"
 
#define VAR_DOWNLOAD_RADIUS "DownloadRadius"
 
#define VAR_UPLOAD_RADIUS "UploadRadius"
 
#define VAR_TASK_DESCRIPTION "TaskDescription"
 
#define VAR_SUCCEED_RADIUS "SucceedRadius"
 
#define VAR_TIME_LIMIT "TimeLimit"
 
#define VAR_PICKUP_OBJECTS "PickupObjects"
 
#define VAR_UPLOAD_OBJECTS "UploadObjects"
 
#define VAR_IMEDIATE_DOWNLOAD "ImmediateDownload"
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_moduleHvtObjective]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_moduleHvtInit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_endgame
 
 
 
|d= &lt;pre&gt;// Disable save game
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_moduleHvtInit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_UI_gestureMenu_KeyHandler</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= gesture_menu
 
 
 
|d= &lt;pre&gt;/* ----------------------------------------------------------------------------
 
Function: vn_fnc_module_UI_gestureMenu_KeyHandler
 
 
 
Description:
 
- Eventhandler Function!
 
- Checks Z/Y (The one between "T" and "U"...) and executes (+blocks) it
 
 
 
Parameters:
 
["_displayorcontrol", "_key", "_shift", "_ctrl", "_alt"];
 
0 - DISPLAY - NOT USED - The Display (or control) it was executed on
 
1 - INTEGER - Pressed Button
 
2 - BOOL - NOT USED - SHIFT pressed?
 
3 - BOOL - NOT USED - CTRL pressed?
 
4 - BOOL - NOT USED - ALT pressed?
 
 
 
Example:
 
(findDisplay 46) displayAddEventHandler ["KeyUp", {call vn_fnc_module_UI_gestureMenu_KeyHandler;}];
 
 
 
Returns:
 
- Nothing
 
 
 
Author:
 
Dscha
 
---------------------------------------------------------------------------- */
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_UI_gestureMenu_KeyHandler]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_UI_gestureMenu_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= gesture_menu
 
 
 
|d= &lt;pre&gt;/* ----------------------------------------------------------------------------
 
Function: vn_fnc_module_UI_gestureMenu_init
 
 
 
Description:
 
- Loads up the STANDARD Version for the Gesture-Wheelmenu
 
- Adds Keyhandler - Standardbutton: Z/Y (The one between "T" and "U"...)
 
 
 
Parameters:
 
0 - OBJECT - The Logic/Module, that calls this function
 
1 - OBJECT - (NOT USED) assigned Object
 
2 - BOOL - is activated? ( https://community.bistudio.com/wiki/Modules -&gt; "isDisposable" )
 
 
 
Example:
 
(autohandled by a placed Module!!)
 
[
 
"_logic",
 
"_unit",
 
"_activated"
 
] call vn_fnc_module_UI_gestureMenu_init;
 
 
 
Returns:
 
- Nothing
 
 
 
Author:
 
Dscha
 
---------------------------------------------------------------------------- */
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_UI_gestureMenu_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_module_UI_gestureMenu_init_custom</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= gesture_menu
 
 
 
|d= &lt;pre&gt;/* ----------------------------------------------------------------------------
 
Function: vn_fnc_module_UI_gestureMenu_init_custom
 
 
 
Description:
 
- Loads up the CUSTOM Version for the Gesture-Wheelmenu
 
- Adds Keyhandler - Standardbutton: Z/Y (The one between "T" and "U"...)
 
 
 
Parameters:
 
0 - OBJECT - The Logic/Module, that calls this function
 
1 - OBJECT - (NOT USED) assigned Object
 
2 - BOOL - is activated? ( https://community.bistudio.com/wiki/Modules -&gt; "isDisposable" )
 
 
 
Example:
 
(autohandled by a placed Module!!)
 
[
 
"_logic",
 
"_unit",
 
"_activated"
 
] call vn_fnc_module_UI_gestureMenu_init_custom;
 
 
 
Returns:
 
- Nothing
 
 
 
Author:
 
Dscha
 
---------------------------------------------------------------------------- */
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_module_UI_gestureMenu_init_custom]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_debug_message</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_debug_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_debug_message.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Show internal debug message and log to rpt file
 
 
 
    Parameter(s):
 
    _message - Text to be sent [STRING, defaults to ""]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    ["Example Error"] call vn_fnc_debug_message
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_debug_message]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_setunitchestinsignia</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_insignia_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_setunitchestinsignia.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-09-30
 
    Last Update: 2020-09-30
 
    Public: No
 
 
 
    Description:
 
    Adds insignia to unit globablly for all clients including JIP clients.
 
 
 
    Parameter(s):
 
    _unit - Unit that will have the insignia added to them [OBJECT, defaults to OBJNULL]
 
    _insignia - CfgUnitInsignia classname which will be added to the unit [STRING, defaults to ""]
 
    _hiddenselection - Hidden selection name to add the texture to [STRING, defaults to ""]
 
 
 
    Returns:
 
    Was insignia succesfully set [BOOL]
 
 
 
    Example(s):
 
    [player, "bi", "d_pocket_l"] call vn_fnc_setunitchestinsignia;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_setunitchestinsignia]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_respawn_none</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_respawn_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_respawn_none.sqf
 
    Original Author: Karel Moricky
 
    Edit Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Overwrite of the single player death screen
 
 
 
    Parameter(s):
 
    _player - Killed unit [OBJECT, defaults to OBJNULL]
 
    _killer - Killer unit [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    NONE
 
 
 
    Example(s):
 
    [player, object_01] call vn_fnc_respawn_none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_respawn_none]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_holdActionAdd</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_hold_functions
 
 
 
|d= &lt;pre&gt;/*
 
Original Author: Jiri Wainar
 
Edit Author: Ethan Johnson
 
 
 
Description:
 
Add a hold action. If the hold actions are not initialized yet, initialize the system first.
 
 
 
Parameters:
 
0: OBJECT - object action is attached to
 
1: STRING - action title text shown in action menu
 
2: STRING or CODE - idle icon shown on screen; if CODE is used the code needs to return the path to icon
 
3: STRING or CODE - progress icon shown on screen; if CODE is used the code needs to return the path to icon
 
4: STRING - condition for the action to be shown; special variables passed to the script code are _target (unit to which action is attached to) and _this (caller/executing unit)
 
5: STRING - condition for action to progress; if false is returned action progress is halted; arguments passed into it are: _target, _caller, _id, _arguments
 
6: CODE - code executed on start; arguments passed into it are [target, caller, ID, arguments]
 
0: OBJECT - target (_this select 0) - the object which the action is assigned to
 
1: OBJECT - caller (_this select 1) - the unit that activated the action
 
2: NUMBER - ID (_this select 2) - ID of the activated action (same as ID returned by addAction)
 
3: ARRAY - arguments (_this select 3) - arguments given to the script if you are using the extended syntax
 
7: CODE - code executed on every progress tick; arguments [target, caller, ID, arguments, currentProgress]; max progress is always 24
 
8: CODE - code executed on completion; arguments [target, caller, ID, arguments]
 
9: CODE - code executed on interrupted; arguments [target, caller, ID, arguments]
 
10: ARRAY - arguments passed to the scripts
 
11: NUMBER - action duration; how much time it takes to complete the action
 
12: NUMBER - priority; actions are arranged in descending order according to this value
 
13: BOOL - remove on completion (default: true)
 
14: BOOL - show in unconscious state (default: false)
 
15: BOOL - show on screen; if false action needs to be selected from action menu to appear on screen (default: true)
 
 
 
Example:
 
[_target,_title,_iconIdle,_iconProgress,_condShow,_condProgress,_codeStart,_codeProgress,_codeCompleted,_codeInterrupted,_arguments,_duration,_priority,_removeCompleted,_showUnconscious] call bis_fnc_holdActionAdd;
 
 
 
Returns:
 
Action ID, can be used for removal or referencing from other functions.
 
*/
 
 
 
params
 
[
 
["_target",objNull,[objNull]],
 
["_title","MISSING TITLE",[""]],
 
["_iconIdle","\A3\Ui_f\data\IGUI\Cfg\HoldActions\holdAction_revive_ca.paa",["",{}]],
 
["_iconProgress","\A3\Ui_f\data\IGUI\Cfg\HoldActions\holdAction_revive_ca.paa",["",{}]],
 
["_condShow","true",[""]],
 
["_condProgress","true",[""]],
 
["_codeStart",{},[{}]],
 
["_codeProgress",{},[{}]],
 
["_codeCompleted",{},[{}]],
 
["_codeInterrupted",{},[{}]],
 
["_arguments",[],[[]]],
 
["_duration",10,[123]],
 
["_priority",1000,[123]],
 
["_removeCompleted",true,[true]],
 
["_showUnconscious",false,[true]],
 
["_showWindow",true,[true]]
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_holdActionAdd]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_fired_refuel</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_fuel_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_fired_refuel.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-08-31
 
    Last Update: 2020-08-31
 
    Public: No
 
 
 
    Description:
 
    Fired eventhandler which will delete the projectile and refuel the vehicle back to full fuel.
 
 
 
    Parameter(s):
 
    _vehicle - Vehicle firing the weapon [OBJECT, defaults to OBJNULL]
 
    _weapon - Weapon that is fired [STRING, defaults to ""]
 
    _muzzle - Weapon muzzle that is fired [STRING, defaults to ""]
 
    _mode - Weapon mode [STRING, defaults to ""]
 
    _ammo - Weapon ammo that is fired [STRING, defaults to ""]
 
    _magazine - Weapon magazine that is fired [STRING, defaults to ""]
 
    _projectile - Weapon magazine that is fired [OBJECT, defaults to OBJNULL]
 
    _gunner - Object that fired the weapon [OBJECT, defaults to OBJNULL]
 
    _drop - Should the projectile be dropped [BOOL, defaults to FALSE]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [parameter] call vn_fnc_fired_refuel
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_fired_refuel]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_player</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_player_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_player.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Uses getVariable to get the current remoted controlled unit, if the player is not remote controlling a unit then the players unit is returned.
 
    Used to get the current unit the player is controlling.
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Player object [OBJECT]
 
 
 
    Example(s):
 
    call vn_fnc_player
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_player]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_showsubtitle</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_subtitle_functions
 
 
 
|d= &lt;pre&gt;/*
 
Author: Thomas Ryan, updated by Karel Moricky, edited by Ethan Johnson
 
 
 
Description:
 
Displays a subtitle at the bottom of the screen.
 
 
 
Parameters:
 
_this select 0: STRING - Name of the person speaking.
 
_this select 1: STRING - Contents of the subtitle.
 
 
 
Returns:
 
SCRIPT - Script controlling the displayed subtitle.
 
*/
 
 
 
#define POS_W (0.4 * safeZoneW)
 
#define POS_H (safeZoneH)
 
#define POS_X (0.5 - POS_W / 2)
 
#define POS_Y (safeZoneY + (7/8) * safeZoneH)
 
#define POS_Y_CAM (safeZoneY + (31/32) * safeZoneH)
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_showsubtitle]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_action_check</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_action_check.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Function called when keyhandler is activated, uses condition to check if player can melee
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    call vn_fnc_melee_action_check
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_action_check]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_action</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_action.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Called when the player passes a melee action check, runs the melee code
 
 
 
    Parameter(s):
 
    _player - Player object [OBJECT, defaults to PLAYER OBJECT]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_melee_action
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_action]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_damage</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_damage.sqf
 
    Author: Ethan Johnson
 
    Date: 2021-02-13
 
    Last Update: 2021-02-13
 
    Public: No
 
 
 
    Description:
 
    Deal damage to the unit that has been intersected through the melee system.
 
 
 
    Parameter(s):
 
    _projectile - Projectile object [OBJECT]
 
    _impact_asl - Impact ASL position [ARRAY]
 
    _time - Current time [NUMBER]
 
    _normal - Impact normal [ARRAY]
 
    _object - Object that has been intersected [OBJECT]
 
    _player - Players object [OBJECT]
 
    _evh - Eventhandler ID [STRING]
 
    _start_time - Time at which the action started [NUMBER]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [bullet, [1,1,5], 15, [0,0,1], man1, player, "melee_evh", 10] call vn_fnc_melee_damage
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_damage]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_draw</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_draw.sqf
 
    Author: Ethan Johnson
 
    Date: 2021-02-13
 
    Last Update: 2021-02-13
 
    Public: No
 
 
 
    Description:
 
    Draw icons from melee debug system
 
 
 
    Parameter(s):
 
    _posStart - Start position [ARRAY, defaults to []]
 
    _posEnd - End position [ARRAY, defaults to []]
 
    _color - Line color [ARRAY, defaults to []]
 
    _label - Icon label [STRING, defaults to ""]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [[0,0,0],[1,1,1],[1,0,0],"Hello :)"] call vn_fnc_melee_draw
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_draw]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_fired</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_fired.sqf
 
    Author: Ethan Johnson
 
    Date: 2021-02-13
 
    Last Update: 2021-02-13
 
    Public: No
 
 
 
    Description:
 
    Function runs when player fires the melee action
 
 
 
    Parameter(s):
 
    _projectile - Projectile object [OBJECT]
 
    _offset - Offset from the selection position [ARRAY]
 
    _length - Length of the intersection [NUMBER]
 
    _player - Player object [OBJECT]
 
    _butt - Is this a butt action [BOOL, defaults to false]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [bullet, [0,1,0], 5, player, false] call vn_fnc_melee_fired
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_fired]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_action_handgun</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_action_handgun.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-20
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Called when the player passes a melee action check, runs the melee code, handgun weapon specific
 
 
 
    Parameter(s):
 
    _player - Player object [OBJECT, defaults to PLAYER OBJECT]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_melee_action_handgun
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_action_handgun]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_drainstamina</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_drainstamina.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Drain players stamina when doing a melee action
 
 
 
    Parameter(s):
 
    _player - Players object [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player] call vn_fnc_melee_drainstamina
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_drainstamina]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_init.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Setup mission variables and sound config variables
 
 
 
    Parameter(s):
 
    NONE
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    call vn_fnc_melee_init
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_offset</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_offset.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Get position offset from selection
 
 
 
    Parameter(s):
 
    _selection - Selection to use for the offset [STRING, defaults to ""]
 
    _offset - Relative offset [ARRAY, defaults to [0,0,0]]
 
    _player - Player object [OBJECT, defaults to PLAYER OBJECT]
 
    _handgun - Should the handgun angle offset be added [BOOL, defaults to FALSE]
 
    _custom_dir_vector - Custom direction vector for special animaions [ARRAY, defaults to []]
 
 
 
    Returns:
 
    Relative offset [ARRAY]
 
 
 
    Example(s):
 
    ["head", [0,0,1], player, 90] call vn_fnc_melee_offset
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_offset]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_onload</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_onload.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Setup keyhandlers and variables used in the melee action function(s) Add unload check to internal loop function
 
 
 
    Parameter(s):
 
    _display - Main display [DISPLAY, defaults to DISPLAYNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [findDisplay 46] call vn_fnc_melee_onload
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_onload]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_melee_onunload</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_melee_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_melee_onunload.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Remove keyhandlers and remove variables saved
 
 
 
    Parameter(s):
 
    _display - Main display [DISPLAY, defaults to DISPLAYNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [findDisplay 46] call vn_fnc_melee_onunload
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_melee_onunload]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_end_script</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_end_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_end_script.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Internal script used by the ending ui to play effects on screen, has no use outside of this context
 
 
 
    Parameter(s):
 
    _ui - Array containing UI display [ARRAY, defaults to []]
 
    _type - Switch case [STRING, defaults to ""]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [_this,"onload"] call vn_fnc_end_script
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_end_script]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_endMission</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_end_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_endMission.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    End mission with either a fade to black or a cinematic outro
 
 
 
    Parameter(s):
 
    _endName - CfgDebriefing class which is used as the mission ending template [STRING, defaults to "end1"]
 
    _win - Win/Loss [BOOL, defaults to true]
 
    _fade - NUMBER to fade to black in X seconds, BOOL to do special outro [BOOL/NUMBER, defaults to true]
 
    _playMusic - BOOL to play music [BOOL, defaults to true]
 
    _cancelTasks - BOOL to cancel tasks that haven't been completed [BOOL, defaults to false]
 
    _end_code - CODE to call after splash, but before debriefing screen shows [CODE, defaults to {true}]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    ["end1"] call vn_fnc_endMission
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_endMission]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_endMissionServer</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_end_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_endMissionServer.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-02-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Ends mission for all clients on multiplayer server
 
 
 
    Parameter(s):
 
    _endName - CfgDebriefing class which is used as the mission ending template [STRING, defaults to "end1"]
 
    _win - Win/Loss [BOOL, defaults to true]
 
    _fade - NUMBER to fade to black in X seconds, BOOL to do special outro [BOOL/NUMBER, defaults to true]
 
    _playMusic - BOOL to play music [BOOL, defaults to true]
 
    _cancelTasks - BOOL to cancel tasks that haven't been completed [BOOL, defaults to false]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    ["end1"] call vn_fnc_endMissionServer
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_endMissionServer]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_credits</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_end_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_credits.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-28
 
    Last Update: 2020-07-02
 
    Public: No
 
 
 
    Description:
 
    Plays credits scene over game display
 
 
 
    Parameter(s):
 
    _continued_text - Should the "To be continued" text be shown [BOOLEAN, defaults to false]
 
    _end_code - Code to run when credits ends [CODE, defaults to {true}]
 
 
 
    Returns:
 
    NOTHING
 
 
 
    Example(s):
 
    [true, { hint "Credits done!"; }] call vn_fnc_credits
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_credits]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_holdkey</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_end_functions
 
 
 
|d= ''N/A''
 
 
 
|s= [] call [[VN_fnc_holdkey]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_music</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_music.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-12
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Main function for the vehicle music system
 
 
 
    Parameter(s):
 
    _mode - Switch mode [STRING, defaults to ""]
 
    _params - Params array which contains variables for specific modes [ARRAY, defaults to []]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    ["open"] call vn_fnc_music
 
*/
 
 
 
#define DISPLAY (uiNamespace getVariable ["vn_displayvehiclemusic",displayNull])
 
#define LIST (DISPLAY displayCtrl 1000)
 
#define BUTTON (DISPLAY displayCtrl 1001)
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_music]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_music_play</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_music_play.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    say3D's the given audio from the given object, this function is made to be remote executed on clients
 
 
 
    Parameter(s):
 
    _vehicle - 'Vehicle' which will play the sound [OBJECT]
 
    _class - CfgSounds classname which will be played [STRING]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [object_01,"pingpong"] call vn_fnc_music_play
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_music_play]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_music_stop</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_music_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_music_stop.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-05-13
 
    Last Update: 2020-05-27
 
    Public: No
 
 
 
    Description:
 
    Stops audio from playing from the vehicle
 
 
 
    Parameter(s):
 
    _vehicle - 'Vehicle' which will play the sound [OBJECT]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [object_01] call vn_fnc_music_stop
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_music_stop]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_traps_punji_tripwire</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_traps_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_traps_punji_tripwire.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-11
 
    Last Update: 2020-06-11
 
    Public: No
 
 
 
    Description:
 
    Animates punji trip wire trap after it is set off
 
 
 
    Parameter(s):
 
    _object - Trap object [OBJECT, defaults to OBJNULL]
 
    _owner - Unit who placed trap [OBJECT, defaults to OBJNULL]
 
    UNKNOWN - UNKNOWN
 
    _position - Mine position [ARRAY, defaults to [0,0,0]]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    AmmoHit = "_this call vn_fnc_traps_punji_tripwire;";
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_traps_punji_tripwire]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_traps_punji</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_traps_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_traps_punji.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-11
 
    Last Update: 2020-06-11
 
    Public: No
 
 
 
    Description:
 
    Animates punji trap after it is set off
 
 
 
    Parameter(s):
 
    _object - Trap object [OBJECT, defaults to OBJNULL]
 
    _owner - Unit who placed trap [OBJECT, defaults to OBJNULL]
 
    UNKNOWN - UNKNOWN
 
    _position - Mine position [ARRAY, defaults to [0,0,0]]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    AmmoHit = "_this call vn_fnc_traps_punji;";
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_traps_punji]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_traps_flare_tripwire</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_traps_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_traps_flare_tripwire.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-11
 
    Last Update: 2020-06-11
 
    Public: No
 
 
 
    Description:
 
    Animates flare trip wire trap after it is set off
 
 
 
    Parameter(s):
 
    _object - Trap object [OBJECT, defaults to OBJNULL]
 
    _owner - Unit who placed trap [OBJECT, defaults to OBJNULL]
 
    UNKNOWN - UNKNOWN
 
    _position - Mine position [ARRAY, defaults to [0,0,0]]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    AmmoHit = "_this call vn_fnc_traps_flare_tripwire;";
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_traps_flare_tripwire]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_bomb_blu82</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_bomb_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_bomb_blu82.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-07-17
 
    Last Update: 2020-07-19
 
    Public: No
 
 
 
    Description:
 
    Spawns bomb and either attaches a parachute or spawns a parachute to attach.
 
 
 
    Parameter(s):
 
    _position - Position for the bomb to land at [ARRAY, defaults to []]
 
    _height - Height to spawn the bomb at, minimum 150 meters [NUMBER, defaults to 300]
 
    _parachute - Parachute object that will be attachted to the bomb [OBJECT, defaults to OBJNULL]
 
    _owner - Object which will be set as the owner of the bomb, use this to give players credit for kills from the bomb [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Array containing bomb and parachute object [OBJECT,OBJECT]
 
 
 
    Example(s):
 
    [[100,200,0], 300] call vn_fnc_bomb_blu82
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_bomb_blu82]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_bomb_hit_blu82</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_bomb_hit_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_bomb_hit_blu82.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-07-17
 
    Last Update: 2020-07-19
 
    Public: No
 
 
 
    Description:
 
    This is called by a eventhandler, don't recommend calling it yourself
 
 
 
    Parameter(s):
 
    _number - A number??? IDK
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [] call vn_fnc_bomb_hit_blu82
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_bomb_hit_blu82]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vehicle_boat_horn_reload</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_vehicles_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_vehicle_boat_horn_reload.sqf
 
    Author: Dscha
 
    Date: 2020-10-24
 
    Last Update: 2020-10-29
 
    Public: No
 
 
 
    Description:
 
    "restocks" the "ammo" for the "horn"-weapon back to 2. triggered via Eventhandler ["fired"]
 
 
 
    Parameter(s):
 
- None
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
- None
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vehicle_boat_horn_reload]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vehicle_emergency_flare</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_vehicles_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_vehicle_emergency_flare.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-08-09
 
    Last Update: 2020-08-09
 
    Public: No
 
 
 
    Description:
 
    Fire emergency flare into the air from a vehicle
 
 
 
    Parameter(s):
 
    _vehicle - Vehicle that fired the flare [OBJECT, defaults to OBJNULL]
 
    _flare_offset - Flare offset position [ARRAY, defaults to [0,0,3]]
 
    _flare_ammo - Flare ammo class [STRING, defaults to "vn_m127_rocket_ammo"]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [vehicle player] call vn_fnc_vehicle_emergency_flare;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vehicle_emergency_flare]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vehicle_tail_number</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_vehicles_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_vehicle_tail_number.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-11-09
 
    Last Update: 2020-11-09
 
    Public: No
 
 
 
    Description:
 
    Adds random tail numbers to object and selections
 
 
 
    Parameter(s):
 
    _object - Object to apply texture to [OBJECT, defaults to OBJNULL]
 
    _selections - Array of selections to apply textures to [ARRAY, defaults to []]
 
    _force - Force add textures even if the original texture is not set [BOOL, defaults to FALSE]
 
    _template - String of characters/template characters to apply to the selections array, A-Z 0-9 will be used exactly, $ will be a random number [STRING, defaults to ""]
 
    _location - String of file location to look for images [STRING, defaults to "vn\air_f_vietnam\ch34\decals\yellow"]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [heli_01, ["a","b","c","d"],"$$$$"] call vn_fnc_vehicle_tail_number;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vehicle_tail_number]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_empty_click</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_weapons_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_empty_click.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-29
 
    Last Update: 2020-10-29
 
    Public: No
 
 
 
    Description:
 
    Checks if weapon ammo is empty, plays an empty sound if it is.
 
 
 
    Parameter(s):
 
    _unit - Unit firing the weapon [OBJECT, defaults to OBJNULL];
 
    _audio - Audio to play [STRING, defaults to ""];
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player, "vn_emptysound"] call vn_fnc_empty_click;
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_empty_click]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_bolt_click</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_weapons_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_bolt_click.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-10-29
 
    Last Update: 2020-10-29
 
    Public: No
 
 
 
    Description:
 
    Bolt action audio player
 
 
 
    Parameter(s):
 
    _unit - Unit firing the weapon [OBJECT, defaults to OBJNULL];
 
    _audio - Audio to play [STRING, defaults to ""];
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player, "vn_boltclick"] call vn_fnc_bolt_click;
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_bolt_click]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_m72law</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_weapons_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_vn_m72law.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-11
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    M72 LAW fired eventhandler function. Will wait until the player attempts to reload or stops holding the fire button.
 
 
 
    Parameter(s):
 
    _unit - Unit which the eventhandler is attached to [OBJECT, defaults to OBJNULL]
 
    _weapon - Weapon classname of the fired weapon [STRING, defaults to ""]
 
    _muzzle - Muzzle of the fired weapon [STRING, defaults to ""]
 
    _mode - Mode of the fired weapon [STRING, defaults to ""]
 
    _ammo - Ammo of the fired weapon [STRING, defaults to ""]
 
    _magazine - Magazine of the fired weapon [STRING, defaults to ""]
 
    _projectile - Projectile of the fired weapon [STRING, defaults to ""]
 
    _gunner - Unit that insigated the fired eventhandler [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [player, "weapon", "muzzle", "mode", "ammo", "magazine", "projectile", gunner] call vn_fnc_myFunction
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_m72law]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_bolt_fired</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_weapons_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_bolt_fired.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-06-11
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Function called when a weapon is fired, plays an animation and plays a sound.
 
 
 
    Parameter(s):
 
    _ehArgs - Array containing the eventhandler data [ARRAY, defaults to []]
 
    _animation - Animation to play when weapon is fired [STRING, defaults to ""]
 
    _sound - Sound to play when the weapon is fired [STRING, defaults to ""]
 
    _wait - Should the function wait until the fired key is not held [BOOL, defaults to FALSE]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [_this, "vn_animation", "vn_sound", true] call vn_fnc_bolt_fired
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_bolt_fired]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_onArsenalOpened</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_weapons_functions
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_onArsenalOpened.sqf
 
Author: veteran29
 
Date: 2020-10-31
 
Last Update: 2020-10-31
 
Public: No
 
 
 
Description:
 
Handle arsenal display open.
 
 
 
Parameter(s):
 
_ctrl - Dummy arsenal load handling control [CONTROL, defaults to controlNull]
 
 
 
Returns:
 
Function reached the end [BOOL]
 
 
 
Example(s):
 
[] call vn_fnc_onArsenalOpened
 
*/
 
// #define VN_ARSENAL_DEBUG
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_onArsenalOpened]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_fruit_destruct</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_orange_functions
 
 
 
|d= &lt;pre&gt;/*
 
Play random hit sound. Sound can be customized by providing file path in 2nd parameter
 
 
 
input:
 
0: _obj - object the script is attached to
 
1: _soundType - path to sound file
 
 
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_fruit_destruct]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_fruit_hitPart</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_orange_functions
 
 
 
|d= ''N/A''
 
 
 
|s= [] call [[VN_fnc_fruit_hitPart]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_set_aperture_based_on_light_level</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_aperture_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_set_aperture_based_on_light_level.sqf
 
    Original Author: Callum Spawforth
 
    Date: 2021-03-30
 
    Last Update: 2021-03-30
 
    Public: Yes
 
 
 
    Description:
 
    Sets the player's aperture to enable night fighting on Cam Lao Nam, without the need for additional light sources.
 
Run periodically to keep aperture up to date with day/night cycle.
 
Aperture requires reset at the end of each mission.
 
 
 
    Parameter(s):
 
NONE
 
 
 
    Returns:
 
    NONE
 
 
 
    Example(s):
 
    [] call vn_fnc_set_aperture_based_on_light_level
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_set_aperture_based_on_light_level]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= versioning
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_init.sqf
 
    Author: veteran29
 
    Date: 2020-08-29
 
    Last Update: 2020-10-22
 
    Public: No
 
   
 
    Description:
 
        Initialize versioning system.
 
   
 
    Parameter(s):
 
        NONE
 
   
 
    Returns:
 
        NOTHING
 
*/
 
 
 
if (isServer) then {
 
    missionNamespace setVariable ["vn_versionServer", STR_VN_REV, true];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_debug_menu</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= debug
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_debug_menu.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-01-07
 
    Last Update: 2020-12-16
 
    Public: No
 
 
 
    Description:
 
        Initialize debug functionalities in pause menu
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [] call vn_ms_fnc_debug_menu
 
*/
 
 
 
[missionNamespace, "OnGameInterrupt", {
 
 
 
    params ["_display"];
 
 
 
    if ([] call BIS_fnc_isDebugConsoleAllowed) then {
 
        // Button - Skip task
 
        private _btnSkipTask = _display ctrlCreate ["RscButtonMenu", -1];
 
        _btnSkipTask ctrlSetText "Skip task";
 
        _btnSkipTask ctrlSetPosition [safeZoneX+0.01, safeZoneY+0.01, 0.2, 0.1];
 
        _btnSkipTask ctrlCommit 0;
 
 
 
        _btnSkipTask ctrlAddEventHandler ["buttonClick", {
 
            systemChat "Skipping task";
 
            vn_task_debug = true;
 
            publicVariable "vn_task_debug";
 
            [] spawn {sleep 1; vn_task_debug = false};
 
        }];
 
 
 
        // Button - Mission Debug
 
        private _btnDebug = _display ctrlCreate ["RscButtonMenu", -1];
 
        _btnDebug ctrlSetText "Mission Debug";
 
        _btnDebug ctrlSetPosition [safeZoneX+0.02+0.2, safeZoneY+0.01, 0.2, 0.1];
 
        if (missionNamespace getVariable ["vn_ms_debug", false]) then {
 
            _btnDebug ctrlSetBackgroundColor [0, 1, 0, 0.5];
 
            _btnDebug ctrlSetForegroundColor [1, 0, 0, 0.5];
 
        };
 
        _btnDebug ctrlCommit 0;
 
 
 
        _btnDebug ctrlAddEventHandler ["buttonClick", {[] call vn_ms_fnc_debug}];
 
    };
 
 
 
    // Debug data, List of FSMs and their states
 
    private _debugText = _display ctrlCreate ["RscStructuredText", -1];
 
    _debugText ctrlSetBackgroundColor [0,0,0,0.7];
 
    _debugText ctrlSetPosition [safeZoneX+0.01, safeZoneY+0.2, 0.41, 0.5];
 
    _debugText ctrlCommit 0;
 
 
 
    uiNamespace setVariable ["vn_fsm_debug_text", _debugText];
 
 
 
    // Ask server for FSMs data (this would be better if it would be event based, but w/e)
 
    [{
 
        // Gather FSM data on server
 
        private _fsmData = diag_activeMissionFSMs select {
 
            _name = _x#0;
 
            _name == "missionFlow"
 
            || _name find "Overlord" != -1
 
            || _name find "Task" != -1
 
            || _name find "dgbt" != -1
 
        };
 
 
 
        private _fsmDataOverlord = entities "vn_module_mission_tracker_ao" apply {
 
            [_x getVariable "vn_fsm", _x getVariable "vn_fsm" getFSMVariable "_alert"]
 
        };
 
 
 
        // Send data back to asking client
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_debug_menu]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_debug</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= debug
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_debug.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-13
 
    Last Update: 2020-12-16
 
    Public: No
 
 
 
    Description:
 
        Enables debug for campaign.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [] call vn_ms_fnc_debug
 
*/
 
#define MAP_CTRL            (findDisplay 12 displayCtrl 51)
 
#define CURATOR_DISPLAY    (findDisplay 312)
 
 
 
// Draw debug data on map and in 3D
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_debug]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_dgbt_crateDeliver</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dgbt
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-13
 
 
 
    Description:
 
        Starts the crate transport DGBT delivery phase with given parameters.
 
 
 
    Parameter(s):
 
        _grp        - Group to create the task for.                                    [GROUP, defaults to grpNull]
 
        _pos        - Position where the crate should be delivered.                    [ARRAY, defaults to [0, 0, 0]]
 
        _parentTask - Parent task for creation of the DGBT as child task. (optional)    [STRING, defaults to ""]
 
 
 
    Returns:
 
        Created task ID [STRING]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_dgbt_crateDeliver]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_dgbt_crateStart</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dgbt
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-13
 
 
 
    Description:
 
        Starts the crate transport DGBT pickup phase with given parameters.
 
 
 
    Parameter(s):
 
        _grp        - Group to create the task for.                                    [GROUP, defaults to grpNull]
 
        _pos        - Position to spawn the crate to transport.                        [ARRAY, defaults to [0, 0, 0]]
 
        _parentTask - Parent task for creation of the DGBT as child task. (optional)    [STRING, defaults to ""]
 
        _box        - Classname of the box which should be transported. (optional)      [STRING, defaults to "vn_b_ammobox_supply_05"]
 
 
 
    Returns:
 
        Crate object and task as array on success or empty array [ARRAY]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_dgbt_crateStart]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_dgbt_createLocateMarker</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dgbt
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_dgbt_createLocateMarker.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-09-25
 
    Last Update: 2020-10-06
 
    Public: No
 
 
 
    Description:
 
        Creates an area marker around given position.
 
 
 
    Parameter(s):
 
        _pos        - Position where the marker should be created  [ARRAY, defaults to [0, 0, 0]]
 
        _markerName - Name of the marker which should be created    [STRING, defaults to ""]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [getPos player, "fancyMarker"] call vn_ms_fnc_dgbt_createLocateMarker
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_dgbt_createLocateMarker]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_dgbt_generateTaskId</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dgbt
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-14
 
 
 
    Description:
 
        Generates task ID.
 
 
 
    Parameter(s):
 
        _parentTask - Parent task for creation of DGBTs as child task. (optional) [STRING, defaults to ""]
 
 
 
    Returns:
 
        Task ID and createTask parameter [ARRAY]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_dgbt_generateTaskId]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_dgbt_squadBoard</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dgbt
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-14
 
 
 
    Description:
 
        Let the squad from current DGBT board the helicopter.
 
 
 
    Parameter(s):
 
        _grp        - Group to create the task for.                                    [GROUP, defaults to grpNull]
 
        _squadGrp  - Group of the infantry units which should board the helicopter.    [GROUP, defaults to grpNull]
 
        _heli      - Helicopter to board.                                              [OBJECT, defaults to objNull]
 
        _parentTask - Parent task for creation of the DGBT as child task. (optional)    [STRING, defaults to ""]
 
 
 
    Returns:
 
        Created task ID [STRING]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_dgbt_squadBoard]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_dgbt_squadStart</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= dgbt
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-13
 
 
 
    Description:
 
        Starts the squad transport DGBT pickup phase with given parameters.
 
 
 
    Parameter(s):
 
        _grp        - Group to create the task for.                                        [GROUP, defaults to grpNull]
 
        _pos        - Position to spawn the squad to transport.                            [ARRAY, defaults to [0, 0, 0]]
 
        _parentTask - Parent task for creation of the DGBT as child task. (optional)        [STRING, defaults to ""]
 
        _squad      - Classnames of the squad units which should be transported. (optional) [ARRAY, defaults to []]
 
 
 
    Returns:
 
        Group, all squad units and task ID as array on success or empty array [ARRAY]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_dgbt_squadStart]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_gui_onLoad_RscDisplaySOGWatch</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= gui
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_gui_onLoad_RscDisplaySOGWatch.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-07-22
 
    Last Update: 2020-07-28
 
    Public: No
 
 
 
    Description:
 
        Initialize RscDisplaySOGWatch.
 
 
 
    Parameter(s):
 
        _display - Initialized display [DISPLAY, defaults to displayNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [display] call vn_ms_fnc_gui_onLoad_RscDisplaySOGWatch
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_gui_onLoad_RscDisplaySOGWatch]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_addArsenalAction</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_addArsenalAction.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-12-05
 
    Last Update: 2020-12-05
 
    Public: No
 
 
 
    Description:
 
        Adds arsenal action to given object, if VN arsenal is enabled.
 
 
 
    Parameter(s):
 
        _crate - Crate to add the action to [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [myCrate] call vn_ms_fnc_addArsenalAction
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_addArsenalAction]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_addMissingRadio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_addMissingRadio.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-09-09
 
    Last Update: 2020-09-09
 
    Public: No
 
 
 
    Description:
 
        Adds a default radio to the player, if he doesn't have a default, TFAR or ACRE radio equipped.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [] call vn_ms_fnc_addMissingRadio;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_addMissingRadio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_addRopeAttachEH</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_addRopeAttachEH.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-07-09
 
    Last Update: 2020-07-15
 
    Public: No
 
 
 
    Description:
 
        Adds event handler to given object to ensure same locality for slingloaded cargo.
 
 
 
    Parameter(s):
 
        _obj - Object to add the EH for [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [vn_veh_kingbee] call vn_ms_fnc_addRopeAttachEH;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_addRopeAttachEH]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_addTeleportAction</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-09-16
 
 
 
    Description:
 
        Adds action to teleport action caller to his group leader.
 
 
 
    Parameter(s):
 
        _object - Object to add the action for teleport [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_addTeleportAction]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_aiHeliTransport</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_aiHeliTransport.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-02-26
 
    Last Update: 2021-04-30
 
    Public: No
 
 
 
    Description:
 
        No description added yet.
 
 
 
    Parameter(s):
 
        _group          - Description [GROUP, defaults to grpNull]
 
        _vehicle        - Description [OBJECT, defaults to objNull]
 
        _route          - Description [ARRAY, defaults to []]
 
        _lz            - Description [STRING|OBJECT|ARRAY, defaults to nil]
 
        _goCondition    - Description [CODE, defaults to {sleep 30; true}]
 
        _unlock        - Should heli pilot/co-pilot be unlocked after AI is done with transport [BOOL, defaults to true]
 
 
 
    Returns:
 
        Insertion completed [BOOL]
 
 
 
    Example(s):
 
        [myGroup, myVehicle, ["marker1", "marker2"], myHelipad, {true}] call vn_ms_fnc_aiHeliTransport
 
*/
 
#define PILOT_TURRET [-1]
 
#define COPILOT_TURRET [0]
 
 
 
if (!canSuspend) exitWith {
 
    _this spawn (missionNamespace getVariable _fnc_scriptName);
 
};
 
 
 
params [
 
    ["_group", nil, [grpNull]],
 
    ["_vehicle", nil, [objNull]],
 
    ["_route", [], [[]]],
 
    ["_lz", nil, ["", objNull, []], [2,3]],
 
    ["_goCondition", {sleep 30; true}, [{}]],
 
    ["_unlock", true, [false]]
 
];
 
 
 
if (!isNull (_vehicle getVariable ["vn_aiHeliTransport_group", objNull])) exitWith {
 
    ["This vehicle is already running an transport task!: _object %1", _vehicle] call BIS_fnc_error;
 
    false
 
};
 
 
 
diag_log text format ["[VN_TRANSPORT] Starting transport - %1, %2, %3", _vehicle, _group, _lz];
 
 
 
_vehicle setDamage 0;
 
private _allowDamage = isDamageAllowed _vehicle;
 
_vehicle allowDamage false;
 
 
 
_vehicle setVariable ["vn_aiHeliTransport_group", _group, true];
 
_vehicle setVariable ['vn_aiHeliTransport_canSkip', false, true];
 
_group setVariable ["vn_aiHeliTransport_lzReached", false];
 
_group setVariable ["vn_aiHeliTransport_routeWps", nil];
 
 
 
// copy array and convert markers to positions
 
_route = _route apply {
 
    if (_x isEqualType "") then {
 
        _x = markerPos _x;
 
    };
 
    _x
 
};
 
 
 
if (_lz isEqualType "") then {
 
    _lz = markerPos _lz;
 
};
 
// if LZ is not provided we will use last waypoint
 
if (isNil "_lz") then {
 
    _lz = _route select (count _route - 1);
 
};
 
 
 
[_vehicle, _lz] spawn {
 
    scopeName "vn_ms_aiHeliTransport_canSkip";
 
 
 
    params ["_vehicle", "_lz"];
 
    waitUntil {((getPosATL _vehicle) select 2) &gt; 20};
 
    // allow skip after vehicle got some altitude
 
    _vehicle setVariable ['vn_aiHeliTransport_canSkip', true, true];
 
    // disable again after getting closer to LZ
 
    waitUntil {_vehicle distance2D _lz &lt; 700};
 
    _vehicle setVariable ['vn_aiHeliTransport_canSkip', false, true];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_aiHeliTransport]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_aiHeliTransportAddAction</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2020-02-28
 
 
 
    Description:
 
        Add skip AI insertion travel hold action.
 
 
 
    Parameter(s):
 
        _vehicle - Vehicle to add action to [OBJECT]
 
 
 
    Returns:
 
        Action was added [BOOL]
 
*/
 
 
 
params [
 
    ["_vehicle", objNull, [objNull]]
 
];
 
 
 
if (_vehicle getVariable ["vn_aiHeliTransport_action", false]) exitWith {false};
 
_vehicle setVariable ["vn_aiHeliTransport_action", true];
 
 
 
private _group = _vehicle getVariable ["vn_aiHeliTransport_group", grpNull];
 
 
 
[
 
    _vehicle,
 
    localize "STR_VN_MISSIONS_ACTION_SKIP_TRAVEL",
 
    "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_takeOff1_ca.paa",    // Idle icon shown on screen
 
    "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_takeOff2_ca.paa",    // Progress icon shown on screen
 
    "_this in _target &amp;&amp; {_target getVariable ['vn_aiHeliTransport_canSkip', false]}", // Condition for the action to be shown
 
    "_caller in _target &amp;&amp; {_target getVariable ['vn_aiHeliTransport_canSkip', false]}", // Condition for the action to progress
 
    {},                            // Code executed when action starts
 
    {},                            // Code executed on every progress tick
 
    {
 
        params ["", "", "", "_arguments"];
 
        _arguments params ["_group"];
 
        [_group] remoteExec ["vn_ms_fnc_aiHeliTransportSkip", 2];
 
    },
 
    {},                                                  // Code executed on interrupted
 
    [_group],                                            // Arguments passed to the scripts as _this select 3
 
    3,                                                  // Action duration [s]
 
    -1000,                                              // Priority
 
    false,                                              // Remove on completion
 
    false,                                              // Show in unconscious state
 
    false                                                // Show on screen
 
] remoteExec ["BIS_fnc_holdActionAdd", 0, format ["vn_aiHeliTransport_action%1", _vehicle]];
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_aiHeliTransportAddAction]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_aiHeliTransportSkip</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2020-02-28
 
 
 
    Description:
 
        Skip AI insertion travel.
 
 
 
    Parameter(s):
 
        _group - Group doing the insertion [GROUP, defaults to grpNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
if (!canSuspend) exitWith {
 
    _this spawn (missionNamespace getVariable _fnc_scriptName);
 
};
 
 
 
params [
 
    ["_group", grpNull, [grpNull]],
 
    ["_delay", 0, [0]]
 
];
 
 
 
private _vehicle = vehicle leader _group;
 
 
 
private _canSkip = _vehicle getVariable ['vn_aiHeliTransport_canSkip', false];
 
_vehicle setVariable ['vn_aiHeliTransport_canSkip', false, true];
 
if (!_canSkip) exitWith {};
 
 
 
private _playerCrew = (crew _vehicle select {isPlayer _x});
 
[[localize "STR_VN_MISSIONS_MISC_TELEPORTTITLE", "BLACK", 1]] remoteExec ["titleText", _playerCrew];
 
 
 
sleep 3 + _delay;
 
 
 
private _synchronizedGroups = synchronizedObjects leader _group apply {group _x};
 
{
 
    [_x, 8 * (_forEachIndex+1)] spawn (missionNamespace getVariable _fnc_scriptName);
 
} forEach _synchronizedGroups;
 
 
 
private _routeWps = _group getVariable ["vn_aiHeliTransport_routeWps", []];
 
// get last route waypoint (or LZ if no route)
 
private _lastWp = nil;
 
if (_routeWps isEqualTo []) then {
 
    _lastWp = [_group, currentWaypoint _group];
 
} else {
 
    _lastWp = _routeWps deleteAt (count _routeWps - 1);
 
};
 
 
 
private _skipPos = waypointPosition _lastWp;
 
_skipPos set [2, 50];
 
 
 
// skip waypoints
 
private _firstRouteWp = _routeWps select 0;
 
{
 
    // the waypoint index decrements with every deleted WP
 
    // So we're always deleting currently first WP of the route
 
    deleteWaypoint _firstRouteWp;
 
} forEach _routeWps;
 
 
 
private _velocity = velocityModelSpace _vehicle;
 
// move vehicle
 
_vehicle setPosATL _skipPos;
 
_vehicle setVelocityModelSpace _velocity;
 
 
 
sleep 3;
 
[["", "BLACK IN", 8]] remoteExec ["titleText", _playerCrew];;
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_aiHeliTransportSkip]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_aiSetSkill</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_aiSetSkill.sqf
 
    Author: Wyqer, veteran29, Spoffy
 
    Date: 2020-05-29
 
    Last Update: 2021-02-20
 
    Public: Yes
 
 
 
    Description:
 
        Configure unit skills. These are tuned for infantry jungle-fighting, and may not work as well on vehicle crews.
 
 
 
    Parameter(s):
 
        _unit - Unit to set skills for [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Skills were set [BOOL]
 
 
 
    Example(s):
 
        [bob] call vn_ms_fnc_aiSetSkill
 
*/
 
params [
 
    ["_unit", objNull, [objNull]]
 
];
 
 
 
private _difficulty = missionNamespace getVariable ["vn_difficulty", DIFFICULTY_NORMAL];
 
if (isMultiplayerSolo || {_difficulty == DIFFICULTY_EASY}) then {
 
    _unit setSkill 0.6;
 
    _unit setSkill ["general", 0.6];
 
    _unit setSkill ["aimingSpeed", 0.35];
 
    _unit setSkill ["aimingShake", 0.5];
 
    _unit setSkill ["commanding", 0.6];
 
    _unit setSkill ["courage", 0.6];
 
    _unit setSkill ["reloadSpeed", 0.6];
 
    _unit setSkill ["spotDistance", 0.4];
 
    _unit setSkill ["spotTime", 0.3];
 
    _unit setSkill ["aimingAccuracy", 0.15];
 
} else {
 
    _unit setSkill 1;
 
    _unit setSkill ["general", 1];
 
    _unit setSkill ["aimingSpeed", 0.75];
 
    _unit setSkill ["aimingShake", 0.9];
 
    _unit setSkill ["commanding", 1];
 
    _unit setSkill ["courage", 1];
 
    _unit setSkill ["reloadSpeed", 1];
 
    _unit setSkill ["spotDistance", 0.5];
 
    _unit setSkill ["spotTime", 0.7];
 
    _unit setSkill ["aimingAccuracy", 0.2];
 
};
 
 
 
_unit setVariable ["vn_ms_skill", true];
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_aiSetSkill]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_aoTeleport</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-25
 
 
 
    Description:
 
        Teleports given unit to given position.
 
 
 
    Parameter(s):
 
        _pos        - Position to where the unit should be teleported              [POSITION, defaults to [0, 0, 0]]
 
        _radius    - Radius around the given position for random placement        [NUMBER, defaults to 10]
 
        _heliClass  - Classname of the helicopter to spawn, no spawn when not given [STRING, defaults to ""]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_aoTeleport]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_deleteWaypoints</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-11-14
 
    Public: Yes
 
 
 
    Description:
 
        Remove all current group waypoints and reset their pathing.
 
 
 
    Parameter(s):
 
        _group - Group to remove waypoints from [GROUP, defaults to grpNull]
 
 
 
    Example(s):
 
        [_group] call vn_ms_fnc_deleteWaypoints
 
 
 
    Returns:
 
        Waypoints were deleted [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_deleteWaypoints]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_driveOnEditorPath</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_driveOnEditorPath.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2021-02-02
 
    Last Update: 2021-03-04
 
    Public: Yes
 
 
 
    Description:
 
        Order vehicle to follow the path created from objects placed in specified editor layer.
 
        Vehicle will start from closest object to itself and continue to next closest one and so on.
 
        It's recommended to use "Sign_Sphere" objects.
 
 
 
    Parameter(s):
 
        _vehicle  - Vehicle that will follow the path  [OBJECT, defaults to objNull]
 
        _layerName - Layer that contains route objects  [STRING, defaults to ""]
 
        _delete    - Should the route objects be deleted [BOOL, defaults to false]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [vn_sp01_jeep, "jeep_path"] call vn_ms_fnc_driveOnEditorPath
 
*/
 
 
 
#define INFINITY (-log 0)
 
 
 
params [
 
    ["_vehicle", objNull, [objNull]],
 
    ["_layerName", "", [""]],
 
    ["_delete", false, [true]]
 
];
 
 
 
private _waypoints = (getMissionLayerEntities _layerName) select 0;
 
private _lastWp = _vehicle;
 
 
 
// Create ordered route
 
private _orderedRoute = [];
 
while {count _waypoints &gt; 0} do {
 
    private _max = INFINITY;
 
    private _dist = 0;
 
    private _nextWp = [0,0,0];
 
    {
 
 
 
        _dist = _lastWp distanceSqr _x;
 
        if (_dist &lt; _max) then {
 
            _max = _dist;
 
            _nextWp = _x;
 
        };
 
    } forEach _waypoints;
 
 
 
    _waypoints = _waypoints - [_nextWp];
 
    _orderedRoute pushBack _nextWp;
 
    _lastWp = _nextWp;
 
};
 
 
 
#ifdef VN_DEBUG
 
    {
 
        private _m = format ["vn_route_%1", _x];
 
        deleteMarker _m;
 
        createMarker [_m, getPos _x];
 
        _m setMarkerType "hd_dot";
 
        _m setMarkerText str _forEachIndex;
 
    } forEach _orderedRoute;
 
#endif
 
 
 
// Compile the route
 
// TODO configurable speed
 
private _path = _orderedRoute apply {
 
    private _speed = switch (typeOf _x) do {
 
        case "Sign_Sphere10cm_F": {[8]};
 
        case "Sign_Sphere25cm_F": {[10]};
 
        case "Sign_Sphere100cm_F": {[15]};
 
        case "Sign_Sphere200cm_F": {[35]};
 
        default {[20]};
 
    };
 
 
 
    getPos _x + _speed // return
 
};
 
 
 
_vehicle setDriveOnPath _path;
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_driveOnEditorPath]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_dropOrdnance</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_dropOrdnance.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-07-17
 
    Last Update: 2020-12-24
 
    Public: Yes
 
 
 
    Description:
 
        Drop ordnance from vehicle position.
 
 
 
    Parameter(s):
 
        _vehicle  - Vehicle to drop ordnance from [OBJECT, defaults to objNull]
 
        _ordnances - Classes of ordnance to drop [ARRAY, defaults to ORDNANCES_RANDOM]
 
        _amount    - Amount of ordnances to drop (min 1) [NUMBER, defaults to 3]
 
 
 
    Returns:
 
        Ordnance drop script [BOOL]
 
 
 
    Example(s):
 
        [vehicle this] call vn_ms_fnc_dropOrdnance
 
*/
 
#define BASE_DROP_SPEED 250
 
#define DROP_DELAY_INITIAL 0.4
 
#define DROP_DELAY_MIN 0.15
 
#define DROP_DELAY_MAX 0.8
 
 
 
_this spawn {
 
    params [
 
        ["_vehicle", objNull, [objNull]],
 
        ["_ordnances", ORDNANCES_ARRAY, [[]]],
 
        ["_amount", 2, [0]]
 
    ];
 
 
 
    private _ordnance = selectRandom _ordnances;
 
 
 
    sleep DROP_DELAY_INITIAL;
 
 
 
    for '_i' from 1 to (_amount max 1) do {
 
        private _bombPos = ASLToATL (_vehicle modelToWorldWorld [0,-10,-20]);
 
        private _b = _ordnance createVehicle _bombPos;
 
 
 
        #ifdef VN_DEBUG
 
            _s = "Sign_Arrow_F" createVehicle _bombPos;
 
            _s setPosATL _bombPos;
 
            systemChat str (DROP_DELAY_MIN max (BASE_DROP_SPEED / speed _vehicle) min DROP_DELAY_MAX);
 
        #endif
 
 
 
        _b setVectorDirAndUp [[0.001,0.001,-1], [0,-1,-1]];
 
        _b setVelocity [0,0,-40];
 
 
 
        // the faster the plane goes the smaller delay between bombs
 
        sleep (DROP_DELAY_MIN max (BASE_DROP_SPEED / speed _vehicle) min DROP_DELAY_MAX);
 
    };
 
 
 
    #ifdef VN_DEBUG
 
        {
 
            _x addCuratorEditableObjects [allMissionObjects "Sign_Arrow_F"];
 
        } forEach allCurators;
 
    #endif
 
};
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_dropOrdnance]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_enableSOGTraits</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2020-01-28
 
    Public: No
 
 
 
    Description:
 
        Initialize SOG traits for player.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Player traits were set up [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_enableSOGTraits]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_forceCampaignFace</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_forceCampaignFace.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2021-02-17
 
    Last Update: 2021-02-17
 
    Public: No
 
 
 
    Description:
 
        Forces the desired face to the player unit for the campaign.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [] call vn_ms_fnc_forceCampaignFace;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_forceCampaignFace]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_hasItems</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_hasItems.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-10-08
 
    Last Update: 2020-11-10
 
    Public: Yes
 
 
 
    Description:
 
        Checks if given units have at least one of each given item in their inventory.
 
 
 
    Parameter(s):
 
        _units  - Array of units and/or groups to check for the item                                                    [ARRAY, defaults to []]
 
        _items  - Array of item classnames to check for in their inventories                                            [ARRAY, defaults to []]
 
        _all    - Selector if all items should be in the inventory at least once or just one of the items are needed    [BOOL, defaults to true]
 
 
 
    Returns:
 
        At least one of each item is in the inventory of provided groups [BOOL]
 
 
 
    Example(s):
 
        // Both listed items are need to be at least once in the inventory
 
        [[player], ["vn_mine_m18_mag", "vn_mine_m18_x3_mag"]] call vn_ms_fnc_hasItems
 
 
 
        // One of the listed items needs to be at least once in the inventory
 
        [[player], ["vn_mine_m18_mag", "vn_mine_m18_x3_mag"], false] call vn_ms_fnc_hasItems
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_hasItems]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_cacheLayer</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-10-15
 
    Last Update: 2021-04-24
 
    Public: Yes
 
 
 
    Description:
 
        Toggle caching of editor layer.
 
 
 
    Parameter(s):
 
        _layer  - Layer name    [STRING, defaults to ""]
 
        _cached - Caching state [BOOL, defaults to true]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        ["myEditorLayer", false] call vn_ms_fnc_cacheLayer
 
*/
 
params [
 
    ["_layer", "", [""]],
 
    ["_cached", true, [false]]
 
];
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["[Layer] %1, %2", _layer, _cached];
 
#endif
 
 
 
private _layerData = getMissionLayerEntities _layer;
 
private _layerObjects = _layerData param [0, []];
 
if (_layerData isEqualTo []) exitWith {
 
    ["Layer '%1' does not contain units nor markers, can not (un)cache!", _layer] call BIS_fnc_error;
 
    false
 
};
 
 
 
{
 
    _x enableSimulationGlobal !_cached;
 
    _x hideObjectGlobal _cached;
 
    if (_cached) then {
 
        _x setVariable ["vn_cache_damageAllowed", isDamageAllowed _x, true];
 
        _x allowDamage false;
 
    } else {
 
        _x allowDamage (_x getVariable ["vn_cache_damageAllowed", true]);
 
        _x setVariable ["vn_cache_damageAllowed", nil, true];
 
    };
 
} forEach _layerObjects;
 
 
 
private _groups = _layerObjects apply {group _x};
 
_groups = _groups arrayIntersect _groups;
 
{
 
    // handle dynamic simulation for groups
 
    if (_cached &amp;&amp; {isNil {_x getVariable "vn_cache_dynSim"}}) then {
 
        _x setVariable ["vn_cache_dynSim", dynamicSimulationEnabled _x];
 
        _x enableDynamicSimulation false;
 
    } else {
 
        if (!_cached) then {
 
            _x enableDynamicSimulation (_x getVariable ["vn_cache_dynSim", false]);
 
            _x setVariable ["vn_cache_dynSim", nil];
 
        };
 
    };
 
} forEach _groups;
 
 
 
// Hide markers
 
{
 
    _x setMarkerAlpha parseNumber !_cached;
 
} forEach (_layerData param [1, []]);
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_cacheLayer]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_casAirstrike</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_casAirstrike.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-12-24
 
    Last Update: 2021-02-20
 
    Public: Yes
 
 
 
    Description:
 
        Spawn CAS plane to bomb target position.
 
        The plane starts at marker "vn_cas_start" and despawns at "vn_cas_stop" (or 0,0,0 if no marker present).
 
 
 
    Parameter(s):
 
        _targetPos    - Target position to bomb                [OBJECT, POSITION, defaults to objNull]
 
        _start        - Start position of the CAS plane        [POSITION, defaults to markerPos "vn_cas_start"]
 
        _captive      - Should the plane be captive            [BOOL, defaults to false]
 
        _fnc_onStrike - Function called right before bombs drop [CODE, defaults to {}]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [markerPos "vn_wp07_camp"] call vn_ms_fnc_casAirstrike
 
*/
 
 
 
if (!canSuspend) exitWith {
 
    _this spawn (missionNamespace getVariable _fnc_scriptName);
 
};
 
 
 
params [
 
    ["_target", objNull, [[], objNull]],
 
    ["_start", markerPos "vn_cas_start", [[]]],
 
    ["_captive", false, [true]],
 
    ["_fnc_onStrike", {}, [{}]]
 
];
 
 
 
_start = +_start;
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["[VN_MS] Airstrike - %1", _this];
 
#endif
 
 
 
private _targetPos = _target;
 
if (_target isEqualType objNull) then {
 
    _targetPos = getPos _target;
 
};
 
 
 
private _flyHeight = 300;
 
_start set [2, _flyHeight];
 
 
 
_targetPos = +_targetPos;
 
_targetPos set [2, _flyHeight];
 
 
 
private _direction = [_start, _targetPos] call BIS_fnc_dirTo;
 
 
 
//Spawn the vehicle
 
([_start, _direction, "vn_b_air_f4b_navy_at", WEST] call BIS_fnc_spawnVehicle) params [
 
    "_vehicle",
 
    "",
 
    "_group"
 
];
 
 
 
_vehicle allowDamage false;
 
 
 
//The vehicle/group should ignore it's surroundings
 
_vehicle disableAI "TARGET";
 
_vehicle disableAI "AUTOTARGET";
 
_vehicle setCaptive _captive;
 
 
 
{_x triggerDynamicSimulation false} forEach units _group;
 
_group setBehaviour "CARELESS";
 
_group setCombatMode "BLUE";
 
_group setSpeedMode "NORMAL";
 
_group allowFleeing 0;
 
 
 
//Fly height
 
_vehicle flyInHeight _flyHeight;
 
 
 
#ifdef VN_DEBUG
 
    private _m = format ["vn_cas_%1", _vehicle];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_casAirstrike]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_createFlare</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_createFlare.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-07-16
 
    Last Update: 2020-07-22
 
    Public: Yes
 
 
 
    Description:
 
        Create ilumination flare on given position.
 
 
 
    Parameter(s):
 
        _size - Flare size &lt;0,1,2&gt; for small medium large [NUMBER, defaults to 0]
 
 
 
    Returns:
 
        Flare [OBJECT]
 
 
 
    Example(s):
 
        [(getPos player) vectorAdd [0,0,50], 2] call vn_ms_fnc_createFlare
 
*/
 
 
 
#define FLARE_SMALL 0
 
#define FLARE_MEDIUM 1
 
#define FLARE_LARGE 2
 
#define FLARE_AMMO_CLASSES ["vn_flare_plane_small_w_ammo", "vn_flare_plane_med_w_ammo", "vn_flare_plane_lg_w_ammo"]
 
 
 
if (!isServer) exitWith {
 
    ["Function must be executed on server!"] call BIS_fnc_error;
 
};
 
 
 
params [
 
    ["_pos", [], [[]], 3],
 
    ["_size", 1, [0]]
 
];
 
 
 
if !(_size in [FLARE_SMALL, FLARE_MEDIUM, FLARE_LARGE]) exitWith {
 
    ["Invalid flare size given!"] call BIS_fnc_error;
 
    objNull
 
};
 
 
 
private _flare = createVehicle [FLARE_AMMO_CLASSES select _size, _pos, [], 0, "NONE"];
 
_flare setPos _pos;
 
_flare setVelocity [wind select 0, wind select 1, 50];
 
[_flare, "SN_Flare_Fired_4"] remoteExec ["say3D", 0];
 
 
 
private _soundSource = createSoundSource ["SoundFlareLoop_F", _pos, [], 0];
 
_soundSource attachTo [_flare, [0,0,0]];
 
_flare setVariable ["vn_soundSource", _soundSource];
 
 
 
_flare spawn {
 
    private _vel = [];
 
    waitUntil {
 
        sleep 0.5;
 
        _vel = velocity _this;
 
        _vel set [2, -1 max (_vel select 2)];
 
        _this setVelocity _vel;
 
 
 
        isNull _this
 
    };
 
    #ifdef VN_DEBUG
 
        systemChat "[VN] Flare cleanup";
 
    #endif
 
    deleteVehicle (_this getVariable ["vn_soundSource", objNull]);
 
};
 
 
 
_flare // return
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_createFlare]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_hideRespawnMarkers</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-11
 
 
 
    Description:
 
        Hides all BIS respawn markes related to units.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
// respawn markers are named same as player unit
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_hideRespawnMarkers]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_isNear</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-10-14
 
    Last Update: 2020-12-05
 
    Public: Yes
 
 
 
    Description:
 
        Checks if most of the units or any unit (depending on params) (of given group or array) are inside a given radius of given object/position.
 
 
 
    Parameter(s):
 
        _array  - Groups and/or units to check                  [ARRAY, defaults to []]
 
        _center - Center position or object                    [POSITION|OBJECT, defaults to []]
 
        _radius - Radius in which all units should be inside    [NUMBER, defaults to 15]
 
        _any    - Check if any unit of group is in area        [BOOL, defaults to false]
 
        _3D    - Check in 3D space                            [BOOL, defaults to false]
 
 
 
    Example(s):
 
        [[group1, group2], vn_co03_pilot, 5, true, true] call vn_ms_fnc_isNear
 
 
 
    Returns:
 
        Are all (or any) given units inside given radius from given center [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_isNear]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_persistentPlayerGroups</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-11-21
 
 
 
    Description:
 
        Prevents player groups from being deleted when last player from group leaves the server.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_persistentPlayerGroups]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_preventDestruction</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_preventDestruction.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-07-24
 
    Last Update: 2021-04-23
 
    Public: Yes
 
 
 
    Description:
 
        Adds event handler preventing destruction of the vehicle. Works only if vehicle is local to executing machine.
 
        Id of the EH is stored in vn_preventDamageEh variable on the object.
 
        If variable "vn_amplifyWheelDamage" is set to true on the vehicle object the damage done to wheels will be highly amplified.
 
 
 
    Parameter(s):
 
        _object - Object to prevent destruction of [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        HandleDamage EH ID [NUMBER]
 
 
 
    Example(s):
 
        [this] call vn_ms_fnc_preventDestruction
 
*/
 
 
 
#define WHEEL_SELECTIONS ["hitlfwheel", "hitrfwheel", "hitlf2wheel", "hitrf2wheel", "hitlmwheel", "hitrmwheel", "hitlbwheel", "hitrbwheel"]
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_preventDestruction]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_spawnAmbHeli</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= general
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-11-06
 
 
 
    Description:
 
        Spawn a helicopter in the air near a given position and let it fly away.
 
 
 
    Parameter(s):
 
        _heliClass  - Classname of the helicopter to spawn                  [STRING, defaults to ""]
 
        _pos        - Position in which vicinity to spawn the helicopter    [POSITION, defaults to [0, 0, 0]]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_spawnAmbHeli]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_params_arsenal</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= params
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2020-12-05
 
 
 
    Description:
 
        Fetches VN whitelisted arsenal enabled/disabled parameter.
 
 
 
    Parameter(s):
 
        _paramValue - Value of the parameter [NUMBER, defaults to 0]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_params_arsenal]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_params_aimCoef</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= params
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-12-06
 
 
 
    Description:
 
        Fetches and handles VN aimCoef parameter.
 
 
 
    Parameter(s):
 
        _paramValue - Value of the parameter [NUMBER, defaults to 0]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_params_aimCoef]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_params_difficulty</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= params
 
 
 
|d= &lt;pre&gt;/*
 
    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]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_params_difficulty]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_params_failOnWipe</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= params
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-09-27
 
 
 
    Description:
 
        Fetches VN mission failure on wipe parameter.
 
 
 
    Parameter(s):
 
        _paramValue - Value of the parameter [NUMBER, defaults to 1]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_params_failOnWipe]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_params_hints</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= params
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-30
 
 
 
    Description:
 
        Fetches VN hints parameter.
 
 
 
    Parameter(s):
 
        _paramValue - Value of the parameter [NUMBER, defaults to 1]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_params_hints]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_params_respawnDelay</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= params
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-28
 
 
 
    Description:
 
        Fetches VN Respawn delay parameter.
 
 
 
    Parameter(s):
 
        _paramValue - Respawn delay time [NUMBER, defaults to 60]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_params_respawnDelay]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_params_respawnTickets</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= params
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_params_respawnTickets.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2021-04-09
 
    Last Update: 2021-04-12
 
    Public: No
 
 
 
    Description:
 
        Handles VN Respawn tickets parameter.
 
 
 
    Parameter(s):
 
        _respawnTickets - Amount of respawn tickets for player, -1 equals unlimited [NUMBER, defaults to --1]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
params [
 
    ["_respawnTickets", -1, [0]]
 
];
 
 
 
vn_ms_respawnTickets = _respawnTickets;
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["Respawn tickets - %1", _respawnTickets];
 
#endif
 
 
 
 
 
if (_respawnTickets == -1) exitWith {};
 
 
 
if (isServer) then {
 
    [true, "vn_ms_outOfLives", {
 
        params ["_player"];
 
        _player call vn_ms_fnc_spectator_enableServer;
 
    }] call BIS_fnc_addScriptedEventHandler;
 
};
 
 
 
if (hasInterface) then {
 
    _respawnTickets spawn {
 
        waitUntil {!isNull player};
 
        // tickets support must be explicitly enabled on group
 
        if !(group player getVariable ["vn_ms_tickets", false]) exitWith {};
 
 
 
        #ifdef VN_DEBUG
 
            systemChat format ["Setting respawn tickets - %1", _this];
 
        #endif
 
 
 
        // add amount of param tickets increased by one as first ticket is consumed by initial spawn
 
        [player, _this+1] call BIS_fnc_respawnTickets;
 
        player addEventHandler ["Killed", {
 
            private _remainingTickets =  [player, nil] call BIS_fnc_respawnTickets;
 
 
 
            #ifdef VN_DEBUG
 
                systemChat format ["Player remaining tickets - %1", _remainingTickets];
 
            #endif
 
 
 
            if (_remainingTickets &gt; 1 ) exitWith {};
 
 
 
            [true, "vn_ms_outOfLives", [player]] remoteExecCall ["BIS_fnc_callScriptedEventHandler", 2];
 
        }];
 
    };
 
};
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_params_respawnTickets]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_params_stamina</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= params
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-09-16
 
 
 
    Description:
 
        Fetches and handles VN stamina parameter.
 
 
 
    Parameter(s):
 
        _paramValue - Value of the parameter [NUMBER, defaults to 0]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_params_stamina]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_params_teleportAction</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= params
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-09-27
 
 
 
    Description:
 
        Fetches VN teleport action at duty officer parameter.
 
 
 
    Parameter(s):
 
        _paramValue - Value of the parameter [NUMBER, defaults to 1]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_params_teleportAction]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_respawn_addSaveAction</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= respawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-09-16
 
 
 
    Description:
 
        Adds action to save the current loadout of the action caller as respawn loadout.
 
 
 
    Parameter(s):
 
        _object - Object to add the action for loadout saving [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_respawn_addSaveAction]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_respawn_addGroup</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= respawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-07
 
 
 
    Description:
 
        Initializes group respawn on group.
 
 
 
    Parameter(s):
 
        _group          - Group to add respawn to                          [GROUP, defaults to grpNull]
 
        _grpAssigned    - Group which should have given group as respawn    [GROUP, defaults to grpNull]
 
 
 
    Returns:
 
        Respawn position output data (same as bis fnc) [ARRAY]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_respawn_addGroup]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_respawn_handleJIP</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= respawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-18
 
    Last Update: 2021-04-12
 
    Public: No
 
 
 
    Description:
 
        Forces the player to respawn on JIP and over 60s gameplay time.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [] call vn_ms_fnc_respawn_handleJIP
 
*/
 
 
 
if (!hasInterface) exitWith {};
 
 
 
if !(isNil "vn_mission_jipRespawn") then {
 
    forceRespawn player;
 
 
 
    [] spawn {
 
        waitUntil {
 
            missionNamespace getVariable ["BIS_RscRespawnControlsMap_shown", false]
 
            &amp;&amp; {visibleMap}
 
            &amp;&amp; {!isNil "vn_ms_respawnTickets"}
 
        };
 
        sleep 3;
 
 
 
        #ifdef VN_DEBUG
 
            systemChat format ["Overwriting JIP respawn time, current: %1", playerRespawnTime];
 
        #endif
 
 
 
        // For some reason MenuPosition sometimes decides it's "Respawn Disabled" for JIPs,
 
        // overwriting the respawn time enables it back again.
 
        setPlayerRespawnTime 5;
 
 
 
        // add respawn ticket for forced respawn
 
        if ([player, nil] call BIS_fnc_respawnTickets != -1) then {
 
            // add 2 tickets, it seems the first one is consumed by initial spawn
 
            [player, 2] call BIS_fnc_respawnTickets;
 
        };
 
    };
 
};
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_respawn_handleJIP]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_respawn_saveLoadout</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= respawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-08
 
 
 
    Description:
 
        Saves respawn loadout and makes it persistent.
 
 
 
    Parameter(s):
 
        _unit - Unit to save lodout for [OBJECT, defaults to player]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
params [
 
    ["_unit", player, [objNull]]
 
];
 
 
 
private _loadout = getUnitLoadout _unit;
 
// add filtering support for mods compatiblity
 
{
 
    _loadout = _loadout call _x;
 
} forEach (missionNamespace getVariable ["vn_ms_respawnLoadout_filters", []]);
 
 
 
_unit setVariable ["vn_ms_respawnLoadout", _loadout, true];
 
 
 
private _respawnEH = _unit getVariable "vn_ms_respawnLoadoutEH";
 
if (isNil "_respawnEH") then {
 
    _respawnEH = _unit addEventHandler ["Respawn", {
 
        params ["_unit", "_corpse"];
 
 
 
        if (isNull _corpse) exitWith {
 
            ["_corpse is null, could not restore respawn loadout"] call BIS_fnc_error;
 
        };
 
 
 
        _unit setUnitLoadout (_corpse getVariable "vn_ms_respawnLoadout");
 
        _unit call vn_ms_fnc_respawn_saveLoadout;
 
 
 
        _corpse setVariable ["vn_ms_respawnLoadoutEH", nil];
 
    }];
 
};
 
_unit setVariable ["vn_ms_respawnLoadoutEH", _respawnEH, true];
 
 
 
#ifdef VN_DEBUG
 
    [] spawn {
 
        hintSilent "DEBUG\nLoadout saved for respawn";
 
        uiSleep 3;
 
        hintSilent "";
 
    };
 
#endif
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_respawn_saveLoadout]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_sfx_playRadioConv</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= sfx
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-08
 
 
 
    Description:
 
        Plays the given radio message via text and audio from the given entity.
 
 
 
    Parameter(s):
 
        _text      - Localization key for text                            [STRING, defaults to ""]
 
        _sound      - Configname of the audio message                      [STRING, defaults to ""]
 
        _entity    - Entity to play the message from                      [OBJECT, defaults to objNull]
 
        _global    - Switch to use global channel instead of side channel  [BOOL, defaults to false]
 
        _isRadio    - Switch to either play it via radio or sound          [BOOL, defaults to true]
 
        _diaryEntry - Should message be added to the diary/conversation log [BOOL, defaults to true]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_sfx_playRadioConv]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_sfx_radioHint</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= sfx
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-01
 
 
 
    Description:
 
        Plays given radio hint to given group.
 
 
 
    Parameter(s):
 
        _mission    - Number of the mission                                    [STRING, defaults to ""]
 
        _hint      - Number of the hint                                        [STRING, defaults to ""]
 
        _grp        - The group(s) to which the message should be broadcasted  [GROUP or ARRAY, defaults to grpNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_sfx_radioHint]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_sfx_typeText</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= sfx
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_sfx_typetext.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-09
 
    Last Update: 2020-07-21
 
    Public: No
 
 
 
    Description:
 
        Types a structured text on the screen, letter by letter.
 
 
 
    Parameter(s):
 
        _lines - Multidimensional array of lines to write [ARRAY, defaults to []]
 
            0: text to display              [STRING, defaults to ""]
 
            1: structured text formatting  [STRING, defaults to "&lt;t align = 'left' shadow = '1' size = '0.7'&gt;%1&lt;/t&gt;&lt;br/&gt;"]
 
            2: time to wait after line      [NUMBER, defaults to 1]
 
 
 
        _posX  - Display position X, or X and W if an array [NUMBER, ARRAY, defaults to 0]
 
        _posY  - Display position Y, or Y and H if an array [NUMBER, ARRAY, defaults to 0]
 
        _rootFormat - Default structured text wrapper template around each line [STRING, defaults to "&lt;t font='tt2020style_e_vn'&gt;%1&lt;/t&gt;"]
 
 
 
    Examples:
 
        [
 
            [
 
                ["Operation: ", "&lt;t align = 'left' shadow = '1' size = '1' font='tt2020style_e_vn_bold'&gt;%1&lt;/t&gt;"],
 
                ["Eldest Son"],
 
                ["12th May 1969. 1600h"],
 
                ["SOG CCN, FOB 1, Phu Bai, South Vietnam"],
 
                [" "],
 
                ["Target AO: ", "&lt;t align = 'left' shadow = '1' size = '1' font='tt2020style_e_vn_bold'&gt;%1&lt;/t&gt;"],
 
                ["Whiskey 4"]
 
            ]
 
        ] spawn vn_ms_fnc_sfx_typeText;
 
 
 
    Returns:
 
        Script handle to typing text [SCRIPT]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_sfx_typeText]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_sfx_wakeUp</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= sfx
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-09
 
 
 
    Description:
 
        Creates wakeup overlay effect.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Handle to wakeup script [SCRIPT]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_sfx_wakeUp]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_spectator_enableClient</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= spectator
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_spectator_enableClient.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2021-04-10
 
    Last Update: 2021-04-12
 
    Public: No
 
 
 
    Description:
 
        Enable specatator and move player to spectator group.
 
 
 
    Parameter(s):
 
        _spectatorGroup - Spectator group to move player to [GROUP, defaults to grpNull]
 
 
 
    Returns:
 
        Specator enable script [SCRIPT]
 
 
 
    Example(s):
 
        [spectatorGroup] call vn_ms_fnc_spectator_enableClient
 
*/
 
 
 
#define ALLOW_AI false
 
#define ALLOW_FREE_CAMERA false
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_spectator_enableClient]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_spectator_enableServer</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= spectator
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_spectator_enableServer.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2021-04-10
 
    Last Update: 2021-04-12
 
    Public: No
 
 
 
    Description:
 
        Force target player into spectator.
 
 
 
    Parameter(s):
 
        _player - Player to move into specatator [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Spectators group [GROUP]
 
 
 
    Example(s):
 
        [player] call vn_ms_fnc_spectator_enableServer
 
*/
 
 
 
params [
 
    ["_player", objNull, [objNull]]
 
];
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["Moving player to spectator - %1", _player];
 
#endif
 
 
 
if (isNil "vn_ms_spectatorsGroup") then {
 
    missionNamespace setVariable ["vn_ms_spectatorsGroup", createGroup [sideLogic, true], true];
 
};
 
 
 
[vn_ms_spectatorsGroup] remoteExecCall ["vn_ms_fnc_spectator_enableClient", _player];
 
 
 
vn_ms_spectatorsGroup // return
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_spectator_enableServer]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_attackArea</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-12-03
 
    Public: Yes
 
 
 
    Description:
 
        Spawn waves attacking area.
 
 
 
    Parameter(s):
 
        _target    - Position to attack                                                    [ARRAY, defaults to []]
 
        _spawn    - Positions to spawn attackers or radius around target                  [ARRAY, NUMBER, defaults to 200]
 
        _count    - Amount of waves                                                        [NUMBER, defaults to 10]
 
        _delay    - Delay between waves                                                    [NUMBER, defaults to 45]
 
        _condition - Condition code, spawning will stop if it will return false            [CODE, defaults to {true}]
 
        _ao        - Area, if provided spawned units will have a chance to become avalanche [ARRAY or STRING, defaults to ""]
 
        _side      - Side of the attacking groups                                          [SIDE, defaults to EAST]
 
        _onSpawned - Callback function to execute on each spawned group (passed as _this)  [CODE, defaults to {}]
 
        _completionRadius  - Attack waypoint completion radius                            [NUMBER, defaults to 20]
 
        _completionStatment - Attack waypoint statment, if ommited default Tracker/Avalanche is applied on completion [STRING, defaults to nil]
 
 
 
    Example:
 
        [markerPos "vn_wp1", 150, 3, 15] call vn_ms_fnc_tracker_attackArea;
 
 
 
    Returns:
 
        Spawned groups [ARRAY]
 
*/
 
 
 
if (!canSuspend) exitWith {
 
    _this spawn (missionNamespace getVariable _fnc_scriptName);
 
};
 
 
 
params [
 
    ["_target", [], [[]], 3],
 
    ["_spawn", 200, [0, []]],
 
    ["_count", 10, [0]],
 
    ["_delay", 45, [0]],
 
    ["_condition", {true}, [{}]],
 
    ["_ao", "", ["", []], [4,5,6]],
 
    ["_side", EAST, [sideUnknown]],
 
    ["_onSpawned", {}, [{}]],
 
    ["_completionRadius", 20, [0]],
 
    ["_completionStatement", nil, [""]]
 
];
 
 
 
private _msg = format ["[VN] Area attack starting - %1", _this select [0, 4]];
 
diag_log text _msg;
 
#ifdef VN_DEBUG
 
    systemChat _msg;
 
#endif
 
 
 
// spawn pos fetching function
 
// depends if radius or array of positions given
 
private _fnc_getPos = {};
 
if (_spawn isEqualType []) then {
 
    // select one of provided positions randomly
 
    _fnc_getPos = {
 
        private _spawnPos = [];
 
        waitUntil {
 
            sleep 1;
 
 
 
            _spawnPos = selectRandom _spawn;
 
            if (_spawnPos isEqualType "") then {
 
                _spawnPos = markerPos _spawnPos;
 
            };
 
 
 
            !([allPlayers, _spawnPos] call vn_ms_fnc_tracker_positionVisible)
 
            &amp;&amp; !surfaceIsWater _spawnPos
 
        };
 
 
 
        _spawnPos
 
    };
 
} else {
 
    // find random position around target position
 
    _fnc_getPos = vn_ms_fnc_tracker_getHiddenPos;
 
};
 
 
 
// single position array
 
if (_spawn isEqualType [] &amp;&amp; {(_spawn select 0) isEqualType 0}) then {
 
    _spawn = [_spawn];
 
};
 
 
 
private _spawnedGroups = [];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_attackArea]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_getAOPlayers</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-16
 
 
 
    Description:
 
        Gets players in a AO that are valid targets.
 
 
 
    Parameter(s):
 
        _ao - Area [MARKER or AREA ARRAY, defaults to ""]
 
 
 
    Returns:
 
        Players [ARRAY]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_getAOPlayers]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_getHiddenPos</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tracker_getHiddenPos.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2019-12-04
 
    Last Update: 2020-11-13
 
    Public: Yes
 
 
 
    Description:
 
        Search for hidden postion around target position.
 
 
 
    Parameter(s):
 
        _target      - Target position                          [ARRAY or STRING, defaults to nil]
 
        _minDistance - Wanted position distance from target pos [NUMBER, defaults to nil]
 
 
 
    Example:
 
        [getPos player, 150] call vn_ms_fnc_tracker_getHiddenPos;
 
 
 
    Returns:
 
        Found position [ARRAY]
 
*/
 
#define SEARCH_RADIUS  50
 
 
 
params ["_target", "_minDistance"];
 
 
 
if (isNil "_target" || isNil "_minDistance") exitWith {
 
    (format ["[VN] Invalid parameters, _target - %1, _minDistance - %2", _target, _minDistance]) call BIS_fnc_error;
 
    false
 
};
 
 
 
if (_target isEqualType "") then {
 
    _target = markerPos _target;
 
};
 
 
 
private _spawnPos = [];
 
waitUntil {
 
    sleep 1;
 
    private _spawns = selectBestPlaces [
 
        _target getPos [_minDistance + SEARCH_RADIUS, random 360],
 
        SEARCH_RADIUS,    //radius
 
        "forest + (1 - meadow)",
 
        50,    // precision
 
        10      // count
 
    ];
 
 
 
    _spawnPos = (selectRandom _spawns) param [0, []];
 
 
 
    private _msg = format ["[VN] Searching for hidden pos - %1, tgt - %2", _spawnPos, _target];
 
    diag_log text _msg;
 
    #ifdef VN_DEBUG
 
        systemChat _msg;
 
    #endif
 
 
 
    // return
 
    !(_spawnPos isEqualTo []) &amp;&amp; {
 
        !([allPlayers, _spawnPos] call vn_ms_fnc_tracker_positionVisible)
 
        &amp;&amp; !surfaceIsWater _spawnPos
 
    }
 
};
 
 
 
_spawnPos
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_getHiddenPos]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_getSpiralPositions</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-10
 
 
 
    Description:
 
        Get positions in spiral with given radius. Useful for patrols.
 
 
 
    Parameter(s):
 
        _center    - Center of spiral                                      [POSITION or OBJECT, defaults to getPos player]
 
        _radius    - Max radius of spiral                                  [NUMBER, defaults to 500]
 
        _steps      - Amount of steps for spiral, 360 / _steps              [NUMBER, defaults to 8]
 
        _precision  - Radius precision 3 element array for random command  [ARRAY, defaults to [0.3, 0.8, 1]]
 
        _clockwise  - Should the spiral go clockwise                        [BOOL, defaults to selectRandom [true, false]]
 
 
 
    Returns:
 
        Positions [ARRAY]
 
*/
 
params [
 
    ["_center", getPos player, [[], objNull], 3],
 
    ["_radius", 500, [0]],
 
    ["_steps", 8, [0]],
 
    ["_precision", [0.3, 0.8, 1], [[]], 3],
 
    ["_clockwise", selectRandom [true, false], [false]]
 
];
 
 
 
if (_center isEqualType objNull) then {
 
    _center = getPos _center;
 
};
 
 
 
private _direction = [-1, 1] select _clockwise;
 
 
 
private _baseAngle = random 360;
 
 
 
private _step = 360 / _steps;
 
private _stepRadius = _radius / _steps;
 
 
 
private _positions = [];
 
 
 
for "_i" from  1 to _steps do {
 
    private _angle = _baseAngle + (_i * _step * _direction);
 
    private _radius = _i * _stepRadius * random _precision;
 
 
 
    private _x = (_center select 0) + _radius * cos _angle;
 
    private _y = (_center select 1) + _radius * sin _angle;
 
 
 
    _positions pushBack [_x, _y, _center select 2];
 
};
 
 
 
_positions
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_getSpiralPositions]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_onPlayerFired</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-14
 
 
 
    Description:
 
        Handles fired event to notify patrolling units etc.
 
 
 
    Parameter(s):
 
        AS PER "FIRED" EH, see:
 
        https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#Fired
 
 
 
    Returns:
 
        NOTHING
 
*/
 
params [
 
    "_unit",
 
    "_weapon",
 
    "_muzzle",
 
    "",
 
    "_ammo",
 
    "",
 
    "_projectile"
 
];
 
 
 
// TODO
 
if (_weapon == "throw") exitWith {
 
    #ifdef VN_DEBUG
 
    systemChat "TODO Tracker grenade handler";
 
    #endif
 
};
 
 
 
private _shotTimeout = _unit getVariable ["vn_tracker_shotTimeout", 0];
 
if (diag_tickTime &lt; _shotTimeout) exitWith {};
 
// do not allow to trigger this too frequently, might need tweaking
 
_unit setVariable ["vn_tracker_shotTimeout", diag_tickTime + 20];
 
 
 
private _muzzleAttachement = _unit weaponAccessories _muzzle param [0, ""];
 
// get ammo audible distance
 
private _audibleFire = vn_ms_tracker_audibleFireCache getVariable (_muzzleAttachement+_ammo);
 
 
 
if (isNil "_audibleFire") then {
 
    private _audibleFireAmmo = getNumber (configFile &gt;&gt; "CfgAmmo" &gt;&gt; _ammo &gt;&gt; "audibleFire");
 
    private _audibleFireMuzzle = getNumber (configFile &gt;&gt; "CfgWeapons" &gt;&gt; _muzzleAttachement &gt;&gt; "ItemInfo" &gt;&gt; "AmmoCoef" &gt;&gt; "audibleFire");
 
    // If there is no entry for this muzzle / there is no attachment assume default coef of 1
 
    if (_audibleFireMuzzle == 0) then {_audibleFireMuzzle = 1};
 
 
 
    _audibleFire = _audibleFireAmmo * _audibleFireMuzzle;
 
    vn_ms_tracker_audibleFireCache setVariable [(_muzzleAttachement+_ammo), _audibleFire];
 
};
 
 
 
// difficulty coeficient with default in case our scripts are used outside of campaign
 
private _difficultyCoef = 1 + (missionNamespace getVariable ["vn_difficulty", 1]);
 
// audible distance after applying all coeficients
 
private _audibleSoundDist = _audibleFire * _difficultyCoef * VN_MS_AUDIBLE_FIRE_COEF;
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["Gunshot dist - %1: %2, %3", (_ammo+_muzzleAttachement), _audibleFire, _audibleSoundDist];
 
#endif
 
 
 
// broadcast the noise to server
 
if (isMultiplayer) then {
 
    vn_ms_tracker_noisePos = [_unit, _audibleSoundDist];
 
    publicVariableServer "vn_ms_tracker_noisePos";
 
} else {
 
    [_unit, _audibleSoundDist] call vn_ms_fnc_tracker_receiveNoise;
 
};
 
 
 
nil
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_onPlayerFired]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_overlord_getGroups</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tracker_overlord_getGroups.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-10-13
 
    Last Update: 2020-10-14
 
    Public: Yes
 
 
 
    Description:
 
        Get groups array from Overlord FSM.
 
 
 
    Parameter(s):
 
        _fsmId - Id of FSM to get groups from [NUMBER, defaults to -1]
 
 
 
    Returns:
 
        Array with Overlord FSM groups where index is alert level, last element contains all groups [ARRAY]
 
 
 
    Example(s):
 
        [1337] call vn_ms_fnc_tracker_overlord_getGroups
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_overlord_getGroups]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_overlord_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-10
 
 
 
    Description:
 
        Initializes overlord on an area.
 
 
 
    Parameter(s):
 
        _ao          - Area array or marker name            [AREA ARRAY or STRING, defaults to ""]
 
        _enemySide    - Side of groups spawned by Overlord    [SIDE, defaults to EAST]
 
        _runCondition - Condition to check before spawning groups [CODE, defaults to {true}]
 
        _alert        - Starting alert value for Overlord [NUMBER], defaults to 0]
 
 
 
    Returns:
 
        FSM ID [NUMBER]
 
*/
 
params [
 
  ["_ao", "", ["", []], [4,5,6]],
 
  ["_enemySide", EAST, [sideUnknown]],
 
  ["_runCondition", {true}, [{}]],
 
  ["_alert", 0, [0]]
 
];
 
 
 
// return
 
[_ao, _enemySide, _runCondition, _alert] call vn_ms_fnc_tracker_overlord
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_overlord_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_positionValid</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-26
 
 
 
    Description:
 
        Checks if position is valid for AI group spawn.
 
 
 
    Parameter(s):
 
        _ao        - Area in which AI is supposed to spawn [STRING or AREA ARRAY, defaults to ""]
 
        _position  - Postion where AI is supposed to spawn [POSITION, defualts to [0,0,0]]
 
        _targets    - Targets which will be checked for visibility to _position [ARRAY, defaults to []]
 
 
 
    Returns:
 
        Position is valid for spawn [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_positionValid]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_positionVisible</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-31
 
 
 
    Description:
 
        Checks if position is visible for any of unit in group.
 
 
 
    Parameter(s):
 
        _targets    - Units to check visibility for [ARRAY, defaults to []]
 
        _position  - Positon ASL to check              [ARRAY, defaults to [0,0,0]]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
params [
 
    ["_targets", [], [[]]],
 
    ["_position", [0,0,0], [[]], [2,3]]
 
];
 
 
 
// to handle positions 2D from "selectBestPlaces"
 
if (count _position == 2) then {
 
    // 1m above ground converted to ASL
 
    _position pushBack 1;
 
    _position = AGLToASL _position;
 
};
 
 
 
// check if there is any unit that can see the position
 
_targets findIf {
 
    [objNull, "VIEW"] checkVisibility [eyePos _x, _position] != 0;
 
} != -1
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_positionVisible]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_preInit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-10
 
 
 
    Description:
 
        Tracker system preInit.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
#ifdef VN_DEBUG
 
    vn_ms_tracker_debug = true;
 
#else
 
    vn_ms_tracker_debug = false;
 
#endif
 
 
 
vn_ms_tracker_audibleFireCache = createSimpleObject ["a3\weapons_f\empty.p3d", [-1337, -1337, 0], true];
 
"vn_ms_tracker_noisePos" addPublicVariableEventHandler {(_this select 1) call vn_ms_fnc_tracker_receiveNoise};
 
 
 
// all tracks left by players
 
vn_ms_tracks = [];
 
// last track position left by player
 
vn_ms_lastTrackLocal = [0,0,0];
 
 
 
// handle tracks creation
 
[missionNamespace, "vn_ms_tracksCreate", {
 
    params [["_unit", objNull, [objNull]]];
 
 
 
    private _track = _unit call vn_ms_fnc_tracker_tracksCreate;
 
 
 
    vn_ms_tracks pushBack _track;
 
    if (count vn_ms_tracks &gt; VN_MS_TRACKS_LIMIT) then {
 
        deleteMarker (vn_ms_tracks deleteAt 0);
 
    };
 
 
 
    // Publish to clients if debug enabled
 
    if (missionNamespace getVariable ["vn_ms_debug", false]) then {
 
        publicVariable "vn_ms_tracks";
 
    };
 
 
 
}] call BIS_fnc_addScriptedEventHandler;
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_preInit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_receiveNoise</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-10
 
 
 
    Description:
 
        Handle client generated noise.
 
 
 
    Parameter(s):
 
        _shooter    - Unit that made the noise  [OBJECT, defaults to objNull]
 
        _distance  - Hearable noise distance  [NUMBER, defaults to 0]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
params [
 
    ["_shooter", objNull, [objNull]],
 
    ["_distance", 100, [0]]
 
];
 
 
 
private _nearbyUnits = allUnits inAreaArray [getPos _shooter, _distance, _distance];
 
private _nearbyGroups = _nearbyUnits apply {group _x};
 
 
 
{
 
    // we can consider moving AIs on top of heard shot,
 
    // would need a exclude for static sentries (eg. on trees)
 
    // units _x doMove position _shooter;
 
 
 
    // we can consider something more complex here,
 
    // current tests show that even giving little info about player makes AI a lot more aggresive
 
    [_x, [_shooter, 0.01]] remoteExec ["reveal", _x];
 
} forEach (_nearbyGroups arrayIntersect _nearbyGroups);
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["[Tracker] Noise propagated: %1, %2", _shooter, _distance];
 
#endif
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_receiveNoise]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_spawnGroup</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-31
 
 
 
    Description:
 
        No description added yet.
 
 
 
    Parameter(s):
 
        _localVariable - Description [DATATYPE, defaults to DEFAULTVALUE]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
params [
 
    ["_position", [0,0,0], [[]], [2,3]],
 
    ["_alert", 0, [0]],
 
    ["_side", EAST, [sideUnknown]],
 
    ["_army", "VN", [""]]
 
];
 
 
 
private _alertCfg = configFile &gt;&gt; "CfgTrackerArmies" &gt;&gt; _army &gt;&gt; format ["alert_%1", _alert];
 
if (isNull _alertCfg) then {
 
    [format ["No CfgTrackerArmies entry for army: '%1' and alert '%2'", _army, _alert]] call BIS_fnc_error;
 
};
 
 
 
// Append 0z to Position2D
 
if (2 == count _position) then {
 
    _position = _position + [0];
 
};
 
 
 
private _group = createGroup [_side, true];
 
 
 
// create vehicles
 
{
 
    private _vehicle = createVehicle [_x, _position, [], 15, "FORM"];
 
    createVehicleCrew _vehicle;
 
    crew _vehicle joinSilent _group;
 
    _group addVehicle _vehicle;
 
} forEach selectRandom getArray (_alertCfg &gt;&gt; "vehicles");
 
 
 
// create units
 
{
 
    private _infantryUnit = _group createUnit [_x, _position, [], 5, "FORM"];
 
    _infantryUnit call vn_ms_fnc_aiSetSkill;
 
} forEach selectRandom getArray (_alertCfg &gt;&gt; "units");
 
 
 
{
 
    _x triggerDynamicSimulation false;
 
} forEach units _group;
 
 
 
_group
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_spawnGroup]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_tracksCreate</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-10
 
 
 
    Description:
 
        Creates tracks marker on unit position.
 
 
 
    Parameter(s):
 
        _unit - Unit leaving tracks [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Created marker [STRING]
 
*/
 
params [
 
    ["_unit", objNull, [objNull]]
 
];
 
 
 
private _marker = createMarker [format ["vn_tracks_%1", time], _unit];
 
_marker setMarkerShape "ELLIPSE";
 
_marker setMarkerSize [VN_MS_TRACKS_A, VN_MS_TRACKS_B];
 
 
 
// base direction on velocity,
 
// this makes handling of the units going backwards or sideways easier
 
private _travelDir = (velocity _unit select 0) atan2 (velocity _unit select 1);
 
// atan2 is -180-180, normalise to 0-360
 
_travelDir = ((_travelDir % 360) + 360) % 360;
 
 
 
_marker setMarkerDir _travelDir;
 
 
 
// hide marker if not debug
 
#ifndef VN_DEBUG
 
_marker setMarkerAlpha 0;
 
#endif
 
 
 
_marker
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_tracksCreate]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_tracksLoop</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-11
 
 
 
    Description:
 
        Loop that monitors player speed and periodicaly leaves tracks on his position.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
["ItemAdd", [
 
    "vn_tracksLoop",
 
    {
 
        private _playerPos = getPos player;
 
        if (
 
            player distance vn_ms_lastTrackLocal &lt; VN_MS_TRACKS_SPACING
 
            || {vectorMagnitude velocity player &lt; VN_MS_TRACKS_MAGNITUDE}
 
            || {surfaceIsWater _playerPos}
 
            || {!isNull objectParent player}
 
        ) exitWith {};
 
 
 
        vn_ms_lastTrackLocal = _playerPos;
 
        [missionNamespace, "vn_ms_tracksCreate", [player]] remoteExecCall ["BIS_fnc_callScriptedEventHandler", 2] ;
 
    },
 
    VN_MS_TRACKS_DELAY
 
]] call BIS_fnc_loop;
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_tracksLoop]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_waypoint_artillery</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= waypoint
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-09-23
 
    Public: Yes
 
 
 
    Description:
 
        Tells the group to fire artillery barrage on waypoint/position.
 
 
 
    Path (for scripted WP):
 
        vn\missions_f_vietnam\functions\waypoint\fn_waypoint_Artillery.sqf
 
 
 
    Parameter(s):
 
        _group    - Group to do the barrage                                [GROUP, defaults to grpNull]
 
        _pos      - Position to fire at                                    [ARRAY, defaults to [0,0,0]]
 
        _owner    - Waypoint owner, optional                                [OBJECT, defaults to objNull]
 
        _rounds  - Number of rounds to fire per artillery vehicle in group [NUMBER, defaults to 5 + random 3]
 
        _magazine - Magazine type to fire                                  [STRING, defaults to ""]
 
        _precision- Artillery precision in meters                          [NUMBER, defaults to 50]
 
 
 
    Returns:
 
        Script reached the end [BOOL]
 
*/
 
 
 
if (!canSuspend) exitWith {
 
    _this spawn (missionNamespace getVariable _fnc_scriptName);
 
};
 
 
 
params [
 
    ["_group", grpNull, [grpNull]],
 
    ["_pos", [0,0,0], [[]], 3],
 
    ["_owner", objNull, [objNull]],
 
    ["_rounds", 5 + random 3, [0]],
 
    ["_magazine", "", [""]],
 
    ["_precision", 50, [0]]
 
];
 
 
 
if (_owner isEqualTo objNull) then {
 
    _owner = leader _group;
 
};
 
 
 
waitUntil {simulationEnabled _owner};
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["[VN_WP_Artillery] Grp:%1, Pos:%2, Owner:%3, Rnds:%4, Mag:%5", _group, _pos, _owner, _rounds, _magazine];
 
#endif
 
 
 
private _wp = [_group, currentWaypoint _group];
 
_wp setWaypointDescription localize "STR_A3_CfgWaypoints_Artillery";
 
 
 
// get group vehicles
 
private _vehicles = [];
 
{
 
    _vehicles pushBackUnique vehicle _x;
 
} forEach units _group;
 
 
 
// filter out humans
 
_vehicles = _vehicles select {!(_x isKindOf "CAManBase")};
 
 
 
// fire rounds
 
private _scriptHandles = _vehicles apply {
 
    sleep 1 + random 1;
 
    [_x, _pos, _rounds, _magazine, _precision] spawn vn_ms_fnc_waypoint_doArtilleryFire // return
 
};
 
 
 
// wait until all scripts are finished
 
waitUntil {
 
    _scriptHandles findIf {!scriptDone _x} == -1
 
};
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["[VN_WP_Artillery] Grp:%1 done", _group];
 
#endif
 
 
 
sleep random 5;
 
 
 
true
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_waypoint_artillery]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_waypoint_captureDriveOnPath</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= waypoint
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_waypoint_captureDriveOnPath.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-10-09
 
    Last Update: 2020-10-09
 
    Public: No
 
 
 
    Description:
 
        No description added yet.
 
 
 
    Parameter(s):
 
        _localVariable - Description [DATATYPE, defaults to DEFAULTVALUE]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
 
 
    Example(s):
 
        [vehicle player, true] call vn_ms_fnc_waypoint_captureDriveOnPath
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_waypoint_captureDriveOnPath]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_waypoint_doArtilleryFire</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= waypoint
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-10-23
 
    Public: Yes
 
 
 
    Description:
 
        Tells the unit to do cone shaped artillery barrage.
 
 
 
    Parameter(s):
 
        _vehicle
 
        _pos
 
        _rounds
 
        _magazine
 
        _precision
 
 
 
    Returns:
 
        Artillery fired [BOOL]
 
*/
 
 
 
// more steps equals closer impact points
 
#define OFFSET_STEPS    4
 
 
 
if (!canSuspend) exitWith {
 
    _this spawn (missionNamespace getVariable _fnc_scriptName);
 
};
 
 
 
params [
 
    "_vehicle",
 
    "_pos",
 
    ["_rounds", 5 + random 3],
 
    ["_magazine", ""],
 
    ["_precision", 55]
 
];
 
 
 
// determine used ammunition
 
private _vehicleArtilleryAmmo = getArtilleryAmmo [_vehicle];
 
 
 
if (_magazine == "" &amp;&amp; count _vehicleArtilleryAmmo &gt; 0) then {
 
    _magazine = _vehicleArtilleryAmmo select 0;
 
};
 
 
 
if (!(_pos inRangeOfArtillery [[_vehicle], _magazine])) exitWith {
 
    #ifdef VN_DEBUG
 
        systemChat format ["[VN_Artillery] %1 can not fire.", _vehicle];
 
    #endif
 
    false
 
};
 
 
 
#ifdef VN_DEBUG
 
    // systemChat format ["[VN_Artillery] Veh:%1, Rnds:%3, Mag:%4, Trgt:%2", _vehicle, _pos, _rounds, _magazine];
 
 
 
    private _m = format ["vn_artillery_target%1", _vehicle];
 
    deleteMarker _m; createMarker [_m, _pos];
 
    _m setMarkerType "mil_dot";
 
    _m setMarkerText "target";
 
    _m setMarkerColor "ColorGREEN";
 
#endif
 
 
 
// get direction to target
 
private _dirTo = _vehicle getDir _pos;
 
private _posOffset = 0;
 
// offset initial positon closer to shooter
 
_pos = _pos getPos [-1 * _precision, _dirTo];
 
 
 
for "_i" from 1 to _rounds do {
 
 
 
    // offseting position like this and shooting single should result in cone like shape
 
    private _target = _pos getPos [_posOffset + random _precision, _dirTo + (45 - random 90)];
 
    // increase offset
 
    _posOffset = _posOffset + (_precision / OFFSET_STEPS);
 
 
 
    // fire single shot
 
    _vehicle doArtilleryFire [_target, _magazine, 1];
 
 
 
 
 
    #ifdef VN_DEBUG
 
        private _m = format ["vn_artillery_%1%2", _vehicle, _i];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_waypoint_doArtilleryFire]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_fnc_tracker_stalker_airShoot</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker_stalker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-07-13
 
    Public: Yes
 
 
 
    Description:
 
        Forces unit to shoot into the sky.
 
 
 
    Parameter(s):
 
        _unit - Unit to force [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Shoot into air script handle [SCRIPT]
 
 
 
    Example(s):
 
        [bob] call vn_ms_fnc_tracker_stalker_airShoot
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_fnc_tracker_stalker_airShoot]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_tracker_ao</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-16
 
 
 
    Description:
 
        Tracker Area of Operations module intialization.
 
 
 
    Parameter(s):
 
        _logic      - Tracker AO Logic                              [OBJECT, defaults to objNull]
 
        _units      - List of units affected by module (NOT USED)  [ARRAY, defaults to []]
 
        _activated  - Is module activated                          [BOOL, defaults to true]
 
 
 
    Returns:
 
        Logic was initialised [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_tracker_ao]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_tracker_aoDynamicSimToggle</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tracker_aoDynamicSim.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-10-14
 
    Last Update: 2020-10-14
 
    Public: Yes
 
 
 
    Description:
 
        Toggle dynamic simulation for EXISTING groups. Will not apply for groups spawned in future.
 
 
 
    Parameter(s):
 
        _logic - AO Module with groups to toggle from [OBJECT, defaults to objNull]
 
        _enabled - Dynamic simulation state [BOOL, defaults to true]
 
 
 
    Returns:
 
        Groups that were processed [ARRAY]
 
 
 
    Example(s):
 
        [vn_ms_overlord, true] call vn_ms_module_fnc_tracker_aoDynamicSimToggle
 
*/
 
 
 
params [
 
    ["_logic", objNull, [objNull]],
 
    ["_enabled", true, [false]]
 
];
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["[VN_OVERLORD] Toggling dynamic sim: %1, %2", _logic, _enabled];
 
#endif
 
 
 
private _aoGroups = _logic call vn_ms_module_fnc_tracker_aoGroups;
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_tracker_aoDynamicSimToggle]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_tracker_aoGroups</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tracker_aoGroups.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-10-13
 
    Last Update: 2020-10-14
 
    Public: Yes
 
 
 
    Description:
 
        Get groups array from Overlord AO module.
 
 
 
    Parameter(s):
 
        _logic - AO Module to get group from [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Array with Overlord AO groups where index is alert level, last element contains all groups [ARRAY]
 
 
 
    Example(s):
 
        [vn_ms_overlord] call vn_ms_module_fnc_aoGroups
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_tracker_aoGroups]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_tracker_aoRemoveGroups</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tracker_aoRemoveGroups.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2021-04-26
 
    Last Update: 2021-04-26
 
    Public: Yes
 
 
 
    Description:
 
        Remove EXISTING groups managed by Tracker AO module.
 
 
 
    Parameter(s):
 
        _logic - AO Module with groups to remove [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Groups were removed [BOOL]
 
 
 
    Example(s):
 
        [vn_ms_overlord] call vn_ms_module_fnc_tracker_aoRemoveGroups
 
*/
 
 
 
params [
 
    ["_logic", objNull, [objNull]]
 
];
 
 
 
#ifdef VN_DEBUG
 
    systemChat format ["[VN_OVERLORD] Removing all groups: %1, %2", _logic];
 
#endif
 
 
 
private _aoGroups = _logic call vn_ms_module_fnc_tracker_aoGroups;
 
reverse _aoGroups;
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_tracker_aoRemoveGroups]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_tracker_fortification</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-08-20
 
 
 
    Description:
 
        Tracker Fortification position module intialization.
 
 
 
    Parameter(s):
 
        _logic - Tracker Fortification Logic [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Logic was initialised [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_tracker_fortification]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_tracker_reinforcements</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= tracker
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_tracker_reinforcements.sqf
 
    Author: Wyqer, veteran29
 
    Date: 2020-08-11
 
    Last Update: 2021-04-17
 
    Public: No
 
 
 
    Description:
 
        No description added yet.
 
 
 
    Parameter(s):
 
        _logic      - Tracker Reinforcements Logic                  [OBJECT, defaults to objNull]
 
        _units      - List of units affected by module (NOT USED)  [ARRAY, defaults to []]
 
        _activated  - Is module activated                          [BOOL, defaults to true]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
params [
 
    ["_logic", objNull, [objNull]],
 
    ["_units", [], [[]]],
 
    ["_activated", true, [true]]
 
];
 
 
 
if !(_logic isKindOf "vn_module_mission_tracker_reinforcements") exitWith {
 
    ["This function supports only 'vn_module_mission_tracker_reinforcements' logics"] call BIS_fnc_error;
 
    false
 
};
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_tracker_reinforcements]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_randomSite_executorInit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= RandomSite
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-10
 
 
 
    Description:
 
        Executes user code from editor on objects synced to executor module.
 
 
 
    Parameter(s):
 
        _logic - Executor logic [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_randomSite_executorInit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_randomSite_selectorInit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= RandomSite
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-10
 
 
 
    Description:
 
        Selects random sites liked to selector module.
 
 
 
    Parameter(s):
 
        _logic - Selector logic [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_randomSite_selectorInit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_randomSite_siteDelete</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= RandomSite
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-10
 
 
 
    Description:
 
        Deletes site module and it's associated objects.
 
 
 
    Parameter(s):
 
        _logic - Site logic [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_randomSite_siteDelete]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_randomSite_siteInit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= RandomSite
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-16
 
 
 
    Description:
 
        Initializes site module.
 
 
 
    Parameter(s):
 
        _logic - Site logic [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_randomSite_siteInit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_vehicleRespawn_add</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= VehicleRespawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-21
 
 
 
    Description:
 
        Adds vehicle to VN Vehicle respawn system.
 
 
 
    Parameter(s):
 
        _vehicle            - Vehicle to respawn                    [OBJECT, defaults to objNull]
 
        _respawnDelay      - Respawn delay in seconds              [NUMBER, defaults to 30]
 
        _abandonDistance    - Abandon distance                      [NUMBER, defaults to 1000]
 
        _adandonTime        - Abandon time in seconds (0 = disabled)[NUMBER, defaults to 0]
 
        _respawnImmobilized - Respawn when vehicle unable to move  [BOOL, defaults to true]
 
        _notification      - Notifiy player about respawn          [BOOL, defaults to true]
 
        _initCode          - Code to be executed upon respawn (args: &lt;old&gt;, &lt;new&gt;) [CODE, defaults to {}]
 
        _name              - Name used in respawn notification    [STRING, defaults to ""]
 
 
 
    Returns:
 
        Vehicle was added to respawn system [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_vehicleRespawn_add]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_vehicleRespawn_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= VehicleRespawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-21
 
 
 
    Description:
 
        No description added yet.
 
 
 
    Parameter(s):
 
        _logic - Vehicle respawn logic [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_vehicleRespawn_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_vehicleRespawn_isAbandoned</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= VehicleRespawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-22
 
 
 
    Description:
 
        Checks if vehicle is abandoned.
 
 
 
    Parameter(s):
 
        _vehicle        - Vehicle to check                                  [OBJECT, defaults to objNull]
 
        _distance      - Distance to check                                [NUMBER, defaults to 1000]
 
        _immobilized    - Should immobilized vehicles count as abandoned    [NUMBER, defaults to 1000]
 
 
 
    Returns:
 
        Is vehicle abandoned [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_vehicleRespawn_isAbandoned]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_vehicleRespawn_loop</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= VehicleRespawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-21
 
 
 
    Description:
 
        Starts vehicle respawn loop.
 
 
 
    Parameter(s):
 
        NONE
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_vehicleRespawn_loop]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_vehicleRespawn_notify</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= VehicleRespawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-22
 
 
 
    Description:
 
        Notifies about vehicle respawn.
 
 
 
    Parameter(s):
 
        _vehicle - Vehicle which respawned to notify about [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_vehicleRespawn_notify]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_vehicleRespawn_remove</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= VehicleRespawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-21
 
 
 
    Description:
 
        Removes vehicle from VN Vehicle respawn system.
 
 
 
    Parameter(s):
 
        _vehicle - Vehicle to remove from respawn  [OBJECT, defaults to objNull]
 
 
 
    Returns:
 
        Vehicle was removed from respawn system [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_vehicleRespawn_remove]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_vehicleRespawn_replaceWreck</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= VehicleRespawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-23
 
 
 
    Description:
 
        Replace wreck as new object to prevent issues with BIS respawn.
 
 
 
    Parameter(s):
 
        _vehicle - Wreck to replace [DATATYPE, defaults to DEFAULTVALUE]
 
 
 
    Returns:
 
        Vehicle was replaced with wreck [BOOL]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_vehicleRespawn_replaceWreck]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>vn_ms_module_fnc_vehicleRespawn_respawn</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= VehicleRespawn
 
 
 
|d= &lt;pre&gt;/*
 
    Author: Wyqer, veteran29
 
    Date: 2019-06-22
 
 
 
    Description:
 
        Respawns given vehicle.
 
 
 
    Parameter(s):
 
        _vehicle -      Vehicle to respawn                      [OBJECT, defaults to objNull]
 
        _initCode    - Code to execute upon vehicle respawn    [BOOL, defaults to true]
 
 
 
    Returns:
 
        Respawned vehicle [OBJECT]
 
*/
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[vn_ms_module_fnc_vehicleRespawn_respawn]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_getRevision</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= GUI
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_getRevision.sqf
 
Author: Pieter De Stickere &lt;[email protected]&gt;
 
Date: 2020-03-09
 
Last Update: 2020-12-09
 
Public: No
 
 
 
Description:
 
Set the revision number on screen.
 
 
 
Parameter(s):
 
_control - Control where the text will be shown [CONTROL, defaults to controlNull]
 
 
 
Returns: nothing
 
 
 
Example(s): none
 
*/
 
 
 
 
 
params [
 
["_control", controlNull, [controlNull]],
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_getRevision]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_initDisplay</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= GUI
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_initDisplay.sqf
 
Author: Pieter De Stickere &lt;[email protected]&gt;
 
Date: 2020-03-09
 
Last Update: 2020-12-09
 
Public: No
 
 
 
Description:
 
Unknown.
 
 
 
Parameter(s):
 
_data - Unknown [ANY]
 
_class - Unknown [STRING]
 
 
Returns: anything
 
 
 
Example(s): none
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_initDisplay]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_versioningHudToggle</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= GUI
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_versioningHudToggle.sqf
 
Author: Pieter 'Stickie' De Stickere
 
Creation date: 2020-03-25 23:25:33
 
Description:
 
Toggles the ingame revision overlay.
 
Return:
 
Function reached the end [BOOL]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_versioningHudToggle]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_numberToBase</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= mainFunctions
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_numberToBase.sqf
 
Author: Heyoxe
 
Date: 2020-12-09
 
Last Update: 2020-12-09
 
Public: No
 
 
Description:
 
Converts a number from one base to another
 
 
Parameter(s):
 
_number - Number [NUMBER]
 
_base - Base [NUMBER]
 
 
Returns:
 
Array of number in base [ARRAY]
 
 
Example(s):
 
[255, 16] call vn_fnc_numberToBase; // [15, 15]
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_numberToBase]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_rgba100toHex</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= mainFunctions
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_rgba100toHex.sqf
 
Author: Heyoxe
 
Date: 2020-12-09
 
Last Update: 2020-12-09
 
Public: No
 
 
 
Description:
 
Converts an RGBA color to Hex
 
 
 
Parameter(s):
 
_r - Red value in % from 0 to 1 [NUMBER]
 
_g - Green value in % from 0 to 1 [NUMBER]
 
_b - Blue value in % from 0 to 1 [NUMBER]
 
_a - Alpha value in % from 0 to 1 [NUMBER]
 
 
Returns:
 
Hex color with "#" prefix [STRING]
 
 
 
Example(s): [1,1,1,1] call vn_fnc_RGBA100toHex // "#FFFFFF"
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_rgba100toHex]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_UI_UpdateImg</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= mainFunctions
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_updateImg.sqf
 
Author: Dscha
 
Date: 2020-08-10
 
Last Update: 2020-11-11
 
Public: No
 
 
Description:
 
Exchange the image of a control, if the Cursor enters or leaves the Area.
 
Image paths are stored in the control itself ("text" &amp; "textUp").
 
Script will search the Mission AND Addon files for the control data.
 
 
Parameter(s):
 
_mode - 0 = normale Texture | 1 = alternative Texture [NUMBER, defaults to 0]
 
_ctrl - Control to change the image - [CONTROL, defaults to controlNull]
 
 
Returns: nothing
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_UI_UpdateImg]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_UI_checkFontSize</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= mainFunctions
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_checkFontSize.sqf
 
Author: Dscha
 
Date: 2020-06-30
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
- decreasing fontsize (sizeEx) for 1-line TextCtrls, to fit in the width of the given ctrl.
 
- updates the ctrl at the end automaticaly (minimum: 0.02)
 
 
Parameter(s):
 
_ctrl - Control [CONTROL]
 
_text - Text [STRING]
 
_fontSize - sizeEx to start with [NUMBER, defaults to 0.12]
 
_font - Font to use [STRING, defaults to USEDFONT]
 
 
Returns: nothing
 
 
 
Example(s):
 
- [_RscTextCtrl, "I am a long text wich probably doesn't fit in a tiny control"] call vn_fnc_checkFontSize;
 
- [_RscTextCtrl, "I am a long text wich probably doesn't fit in a tiny control", 0.5, "RobotoCondensed"] call vn_fnc_checkFontSize;
 
*/
 
 
 
params["_ctrl","_text",["_fontSize", 0.12, [0]],["_font", USEDFONT, [""]]];
 
 
 
////////////////////////////////////////////////////////////
 
// CURRENTLY DISABLED! "getTextWidth" STILL IN DEVBRANCH! //
 
////////////////////////////////////////////////////////////
 
/*
 
private _textWidth = _text getTextWidth [_font, _fontSize];
 
private _ctrlWidth = ctrlPosition _ctrl#2;
 
while{(_textWidth &gt; _ctrlWidth)}do
 
{
 
_fontSize = _fontSize - 0.01;
 
if(_fontSize &lt; 0.02)exitWith{_fontSize = 0.02};
 
_textWidth = _text getTextWidth [_font, _fontSize];
 
};
 
_ctrl ctrlSetFontHeight _fontSize;
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_UI_checkFontSize]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_UI_addItemHelmet</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= mainFunctions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_ui_addItemHelmet.sqf
 
    Author: Dscha, HorribleGoat, LordJarhead
 
    Date: 2020-10-27
 
    Last Update: 2020-11-10
 
    Public: No
 
 
 
    Description:
 
!DO_NOT_DOCUMENT
 
If you see this: Don't tell anyone! Especially not Sav! Greetz ;)
 
Don't worry, I won't tell anyone ;) -- Heyoxe
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_UI_addItemHelmet]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_getDLC</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= mainFunctions
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_getDLC.sqf
 
Author: Heyoxe
 
Date: 2021-02-26
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
        Gets the modDir and mod classname from an item.
 
 
Parameter(s):
 
_config - Item config [CONFIG]
 
 
Returns:
 
        Array of [_folder, _mod] where _folder is the modDir (for modParams), and _mod the classname in CfgMods [ARRAY]
 
        _folder and _mod are always the same (otherwise it's not a DLC)
 
 
 
Example(s): none
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_getDLC]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_wm_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= wheelmenu
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_wm_init.sqf
 
Author: Dscha
 
Date: 2020-10-25
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
- initilization of the Wheelmenu (aka: Start this monstrosity!)
 
- Set up all Selectors with Icons, Colors, Functions. Depending on the amount of Vars given to it (example)
 
- autoadjusting the WM, depending on the amount of Entrys
 
- Min: 2 Entrys
 
- Max: 10 Entrys
 
 
Parameter(s):
 
_iconList - List of Items/Vars to be added to the Menu [ARRAY, defaults to []]
 
_n - Parameters [ARRAY]
 
_0 - Path to Icon normal [NUMBER]
 
_1 - Path to Icon Highlighted (if desired) [ARRAY]
 
_2 - No description [ARRAY]
 
_2_0 - Params to send over to the functions [ARRAY]
 
_2_1 - Wich function to call/spawn [STRING]
 
_2_2 - Spawn (TRUE) or Call (FALSE) [BOOLEAN, defaults to FALSE]
 
_3 - No description [ARRAY, defaults to []]
 
_3_0 - Colorcode Array - Selector - Normal [COLOR]
 
_3_1 - Colorcode Array - Selector - highlighted [COLOR]
 
_4 - No description [ARRAY, defaults to []]
 
_4_0 - Colorcode Array - Icon - Normal [COLOR]
 
_4_1 - Colorcode Array - Icon - highlighted [COLOR]
 
_isModule - Loaded via Module or not, so it selects the proper "close functions" (using the Key bound in the VN Keyhandler) [BOOLEAN, defaults to FALSE]
 
 
Returns: nothing
 
 
Example(s):
 
MINIMAL: ["vn\ui_f_vietnam\ui\wheelmenu\img\handsignals\ui_wm_selector_hand_001_ca.paa", "", [["vn_handsignal_freeze","Text for centerCtrl"], "vn_fnc_playGesture"]]
 
FULL: ["vn\ui_f_vietnam\ui\wheelmenu\img\handsignals\ui_wm_selector_hand_001_ca.paa", "", [["vn_handsignal_freeze","Text for centerCtrl"], "vn_fnc_playGesture", false],[ _color_selector, _color_selector_hl ], [ _color_icon, _color_icon_hl ] ]
 
 
 
[
 
[
 
[
 
"\vn\ui_f_vietnam\ui\wheelmenu\img\ui_icon_a_ca.paa",
 
"",
 
[
 
["gestureFreeze","Text for centerCtrl"],
 
"vn_fnc_playGesture",
 
FALSE
 
],
 
[
 
[0,0,0,0],
 
[0,0,0,0]
 
],
 
[
 
[0,0,0,0],
 
[0,0,0,0]
 
]
 
],
 
... repeat
 
]
 
] call vn_fnc_wm_init;
 
*/
 
 
 
 
 
 
 
params [
 
["_iconList",[],[[]]]
 
,["_isModule",false,[false]]
 
];
 
 
 
//how many Selectors?
 
private _num = count(_iconList);
 
 
 
//SECURITY CHECKS:
 
//Too many/not enough to populate the wheel -&gt; exit with ErrorMsg
 
if(_num &gt; 10 or _num &lt; 2)exitWith{systemchat format[localize "STR_VN_UI_WM_NOT_ENOUGH_ENTRIES", _num];};
 
 
 
//move mousecursor to center, so Client doesn't click anything by accident
 
setMousePosition [0.5, 0.5];
 
//get the Base IDC from the configfile for the selectors
 
private _idc_selectors_base = getNumber (configfile &gt;&gt; "vn_wheelmenu" &gt;&gt; "idc_selectors_base");
 
private _idc_icon_modifier = getNumber (configfile &gt;&gt; "vn_wheelmenu" &gt;&gt; "idc_icon_modifier");
 
 
 
 
 
disableSerialization;
 
 
 
//open display/dialog
 
private _wheelMenu_Display = (findDisplay 46) createDisplay "vn_wheelmenu";
 
 
 
//uhm... 360 / amount of selectors? Maybe? I guess so.
 
private _steps = 360 / _num;
 
 
 
//select correct image for the amount of Selectors
 
private _selectorTex = format["\vn\ui_f_vietnam\ui\wheelmenu\img\ui_wm_selector_%1_cal.paa",_num];
 
private _selectorTex_hit = format["\vn\ui_f_vietnam\ui\wheelmenu\img\ui_wm_selector_%1_hit_cal.paa",_num];
 
 
 
//Get the CheckCoordinates from the config/UI File
 
//NOTE: Pos arranging ONLY in Clock- or Counterclockwise! Otherwise: Wobblewobble with detection
 
getArray (configfile &gt;&gt; "vn_wheelmenu" &gt;&gt; "checkCoords" &gt;&gt; format["wm_%1", _num]) params ["_iconDistance","_checkCoords"];
 
//For testing:
 
//_checkCoords_data = [15.5, [[-17.5,6], [-17.5,23], [0,23], [17.5,23], [17.5,6]]];
 
 
 
//create the Selectors
 
//start index? idk, does this need an explaination? ¯\_(ツ)_/¯ who cares, nobody is reading this anyway
 
private _index = 0;
 
//Array with inPolygon check coords and other fancy stuff (see below)
 
private _CtrlCheckList = [];
 
for "_i" from 0 to 360-_steps step _steps do
 
{
 
//"reset" before adding new stuff
 
private _tmpArr = [];
 
private _AreaCheckList = [];
 
 
(_iconList#_index) params
 
[
 
["_selector_icon","",[""]]
 
,["_selector_icon_hl","",[""]]
 
,["_selectedFnc",[[[""],[""]],"",false],[[]]]
 
,["_selector_colors",[ [0.2,0.2,0.2,0.8], [0.8,0.8,0.8,1] ],[[]]]
 
,["_icon_colors",[ [0.6,0.6,0.6,0.8], [1,1,1,0.95] ],[[]]]
 
];
 
 
private _IDC = _idc_selectors_base + _index;
 
_tmpArr pushback _IDC;
 
 
//Select the selector Ctrl and adjust it's angle
 
private _selector = _wheelMenu_Display displayCtrl _IDC;
 
_selector ctrlSetText _selectorTex;
 
_selector ctrlSetTextColor _selector_colors#0;
 
_selector ctrlSetAngle [ _i, 0.5, 0.5, false]; //ctrlSetAngle = uses center of CONTROL, not screen!!
 
_selector ctrlCommit 0;
 
 
 
//cycle through the _checkCoords and get the needed "inPolygon Coords" for current selector:
 
{
 
//get the Points for inPolygon check [x,y,0] (3D Check)
 
private _angle = _i + (_x#0);
 
//distance to center
 
private _distance = pixelW * pixelGrid * (_x#1);
 
//get relative point from center
 
private _ctrlPos = [ [0.5, 0.5], _distance, _angle, -90] call vn_fnc_getRelPosDisp;
 
 
private _pos_x = _ctrlPos#0;
 
private _pos_y = _ctrlPos#1;
 
 
_AreaCheckList pushback [ _pos_x, _pos_y, 0];
 
}forEach _checkCoords;
 
 
//add selector Coords to the tempArray
 
_tmpArr pushback _AreaCheckList;
 
 
//assign function to call, when pressing the selector
 
_tmpArr pushback _selectedFnc;
 
 
//store IDCs Modifier for Icons (Yes here, leave me alone!)
 
_tmpArr pushback _idc_icon_modifier;
 
 
//store Icon and highlighted Icon (if given), so we can exchange (or not) in the Check function
 
_tmpArr pushback _selector_icon;
 
 
//highlighted Version
 
//if the Highlighted Version of the Icon is not given -&gt; Select the normal one
 
if(_selector_icon_hl isEqualTo "")then
 
{
 
_selector_icon_hl = _selector_icon;
 
};
 
_tmpArr pushback _selector_icon_hl;
 
 
//store color-arrays for ctrlSetTextColor (highlighted and non-highlighted)
 
_tmpArr pushback _selector_colors;
 
_tmpArr pushback _icon_colors;
 
 
 
//store it in the Checklist to check it in getMousePos
 
_CtrlCheckList pushback _tmpArr;
 
_index = _index + 1;
 
};
 
 
 
//create the Icons for each Selectors
 
//MUST be done seperately and AFTER creating the Selectors, otherwise Selectors might overlap with Icons (stupid Arma)
 
private _index = 0;
 
 
 
for "_i" from 0 to 360-_steps step _steps do
 
{
 
//assign Base_IDC + 100 for different Selector_IDC
 
private _selector_icon_IDC = _idc_selectors_base + _idc_icon_modifier + _index;
 
 
//setting up the Icon Vars
 
private _icon = _wheelMenu_Display displayCtrl _selector_icon_IDC;
 
//get width/height
 
private _parentCtrl_data = ctrlPosition _icon;
 
private _width = _parentCtrl_data#2;
 
private _height = _parentCtrl_data#3;
 
//erm, Icon and it's color?
 
(_iconList#_index) params
 
[
 
["_selector_icon","",[""]]
 
,["_selector_icon_hl","",[""]]
 
,["_selectedFnc",[[[""],[""]],"",false],[[]]]
 
,["_selector_colors",[ [0.2,0.2,0.2,0.8], [0.8,0.8,0.8,1] ],[[]]]
 
,["_icon_colors",[ [0.6,0.6,0.6,0.8], [1,1,1,0.95] ],[[]]]
 
];
 
 
//distance to center
 
//_distance = pixelW * pixelGrid * 14;
 
private _distance = pixelW * pixelGrid * _iconDistance; //15.5;
 
 
//get relative point from center
 
private _ctrlPos = [ [0.5, 0.5], _distance, _i, -90] call vn_fnc_getRelPosDisp;
 
 
//place em down
 
//+adjust position, so the center is at the given coords
 
_icon ctrlSetPosition [ (_ctrlPos#0) - (_width/2), (_ctrlPos#1) - (_height/2)];
 
_icon ctrlSetText _selector_icon;
 
_icon ctrlSetTextColor _icon_colors#1;
 
_icon setVariable ["text", (_selectedFnc#0#1)];
 
_icon ctrlCommit 0;
 
 
_index = _index + 1;
 
};
 
 
 
 
 
if(_isModule)then
 
{
 
//adding EH, so if player is pressing the assigned button (KBM) again -&gt; Close Wheelmenu
 
_wheelMenu_Display displayAddEventHandler ["KeyUp", {call vn_fnc_module_UI_gestureMenu_KeyHandler;}];
 
}
 
else
 
{
 
//adding EH, so if player is pressing the assigned button (mission KeyHandler) again -&gt; Close Wheelme
 
 
 
|s= [] call [[VN_fnc_wm_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_wm_getMousePos</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= wheelmenu
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_wm_getMousePos.sqf
 
Author: Dscha
 
Date: 2020-05-24
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
- get mousePosition and check it's coordinates if it's inside of a zone
 
- if mouse inside:
 
- set selected Function and Icon for usage in Eventhandler: "vn_fnc_wm_EH_MouseBUp"
 
- else:
 
- reset everything to default
 
 
 
- Set/Update of variable "vn_wm_SelectedFunction" &amp; "vn_wm_SelectedIcon"
 
 
Parameter(s):
 
_CtrlCheckList - each entry in that list, has the information about the used icons/functions [ARRAY, defaults to []]
 
_selector_icons - Icons [ARRAY, defaults to []]
 
_selector_icons_0 - path to selector Texture [STRING]
 
_selector_icons_1 - path to highlighted selector Texture [STRING]
 
 
 
Returns:
 
Return description [TYPE]
 
 
Example(s):
 
[
 
_CtrlCheckList, //More details in "vn_fnc_wm_init"
 
[
 
"\vn\ui_f_vietnam\ui\wheelmenu\img\ui_wm_selector_1_cal.paa",
 
"\vn\ui_f_vietnam\ui\wheelmenu\img\ui_wm_selector_1_hit_cal.paa"
 
]
 
] call vn_fnc_wm_getMousePos;
 
*/
 
 
 
 
 
 
 
//no "private _var" needed, spawned Thread
 
_mpos = getMousePosition;
 
_mposX = (_mpos#0);
 
_mposY = (_mpos#1);
 
_inArea = false; //if in area -&gt; Highlight the Selector+Icon
 
_hasFound = false;
 
_display = VN_DISP_WHEELMENU;
 
_ctrl_centertext = VN_WM_CENTER_TXT_CTRL;
 
params
 
[
 
["_CtrlCheckList",[],[[]]]
 
,["_selector_icons",[],[[]]]
 
];
 
 
 
//Dscha: I don't like it, having the vars everywhere cluttered in the init files... some change, some are not used anymore... meh... way better that way
 
if(isNil "vn_wm_SelectedFunction" || isNil "vn_wm_SelectedIcon")then
 
{
 
vn_wm_SelectedFunction = [];
 
vn_wm_SelectedIcon = -1;
 
};
 
//check each selector Position, if Mouse is inside "inPolygon" Area
 
/*
 
_x data in following forEach loop (_CtrlCheckList):
 
[
 
0 Selector_IDC,
 
1 [CheckCoords MultiArray],
 
2 [FunctionToCall],
 
3 _idc_icon_modifier,
 
4 "icon path",
 
5 "icon path if highlighted" (if not given -&gt; wm_init sets the normal icon instead)
 
6 [
 
6-0 [color normal],
 
6-1 [color highlighted]
 
]
 
]
 
*/
 
 
 
{
 
_cur_IDC = (_x#0);
 
_selector = _display displayCtrl _cur_IDC;
 
_selector_Icon = _display displayCtrl (_cur_IDC+(_x#3));
 
if(isNull VN_DISP_WHEELMENU)exitWith{};
 
 
_color_selectors = (_x#6)#0;
 
_color_selectors_hl = (_x#6)#1;
 
_color_icon = (_x#7)#0;
 
_color_icon_hl = (_x#7)#1;
 
 
if([_mposX,_mposY,0] inPolygon (_x#1))then
 
{
 
//Selector: set the Texture and Color back to the highlighted Version
 
_selector ctrlSetTextColor _color_selectors_hl;
 
_selector ctrlSetText (_selector_icons#1);
 
_selector ctrlCommit 0;
 
 
//Icon: change the color and (if given) the texture of Icon to highlighted Version (otherwise: use normal Version)
 
_selector_Icon ctrlSetText (_x#5);
 
_selector_Icon ctrlSetTextColor _color_icon_hl;
 
_selector_Icon ctrlCommit 0;
 
 
_selector_Icon_text = _selector_Icon getVariable ["text", "Error"];
 
//Check if Stringtable or normal text
 
if( _selector_Icon_text select [0,4] == "STR_")then{ _selector_Icon_text = localize _selector_Icon_text; };
 
 
_ctrl_centertext ctrlSetStructuredText parseText _selector_Icon_text;
 
 
//Adjust the text Size - DISABLED - Using RscStructuredText currently
 
// [ctrlIDC _selector] call VN_fnc_WM_text_adjustFontSize;
 
 
vn_wm_SelectedFunction = (_x#2);
 
vn_wm_SelectedIcon = (_cur_IDC+(_x#3));
 
_hasFound = true;
 
}else{
 
//Selector: set the Texture and Color back to the normal Version
 
_selector ctrlSetTextColor _color_selectors;
 
_selector ctrlSetText (_selector_icons#0);
 
_selector ctrlCommit 0;
 
 
//Icon: set the Texture and Color back to the normal Version
 
_selector_Icon ctrlSetText (_x#4);
 
_selector_Icon ctrlSetTextColor _color_icon;
 
_selector_Icon ctrlCommit 0;
 
 
};
 
 
 
//cycle through the _CtrlCheckList from wm_init
 
}forEach _CtrlCheckList;
 
 
 
//reset Var if nothing was found/mouse was not over a selector
 
if(!_hasFound)then
 
{
 
vn_wm_SelectedFunction = [];
 
vn_wm_SelectedIcon = -1;
 
_ctrl_centertext ctrlSetStructuredText parseText "";
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_wm_getMousePos]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_wm_EH_MouseBUp</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= wheelmenu
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_wm_EH_MouseBUp.sqf
 
Author: Dscha
 
Date: 2019-08-06
 
Last Update: 2020-11-16
 
Public: No
 
 
Description:
 
Eventhandler: Get the selected Function from "vn_wm_SelectedFunction" (defined in "vn_fnc_wm_getMousePos") and call or spawn it.
 
 
Parameter(s): none
 
 
Returns: nothing
 
 
Example(s):
 
Called in display Config:
 
"onMouseButtonUp = "call vn_fnc_wm_EH_MouseBUp;";"
 
*/
 
 
 
 
 
//check if display is open
 
_display = VN_DISP_WHEELMENU;
 
if(isNull _display)exitWith{systemchat localize "STR_VN_UI_WM_NO_DISPLAY";};
 
//check if something went wrong (for whatever reason)
 
if(vn_wm_SelectedIcon &lt; 0)exitWith{_display closeDisplay 1;};
 
 
 
//get Texture from selected Icon and prepare _params Array
 
_params =  [ctrlText (_display displayCtrl vn_wm_SelectedIcon)];
 
 
 
//close Wheelmenu, after selection was done
 
_display closeDisplay 1;
 
 
 
//Check if some Var was forgotten or something else went wrong
 
if(count(vn_wm_SelectedFunction) == 0)exitWith{systemchat localize "STR_VN_UI_WM_NO_FUNCTION_SET"};
 
 
 
 
 
vn_wm_SelectedFunction params
 
[
 
["_wm_params",[],[[]]]
 
,["_fnc_name","",[""]]
 
,["_spawn",false,[false]] //3rd param (optional) of the given Vars determines if that fnc should be spawned or called (Default: "Call")
 
];
 
{ _params pushback _x; }forEach _wm_params;
 
 
 
//get the function from missionNameSpace (all functions are stored there)
 
private _fnc = missionNameSpace getVariable [_fnc_name,{}];
 
if(_fnc isEqualTo {} &amp;&amp; {!(_fnc_name isEqualTo "")})then
 
{
 
systemchat format[localize "STR_VN_UI_WM_NO_FUNCTION_FOUND", _fnc_name];
 
}else{
 
if(_fnc_name isEqualTo "")exitWith{};
 
if(_spawn)then
 
{
 
_params spawn _fnc;
 
}else{
 
_params call _fnc;
 
};
 
};
 
vn_wm_SelectedFunction = [];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_wm_EH_MouseBUp]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_wm_EH_closeWM</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= wheelmenu
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_wm_EH_closeWM.sqf
 
Author: Dscha
 
Date: 2020-10-25
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Eventhandler: closes the Wheelmenu and blocks the input of that button (yeah, that's it).
 
 
Parameter(s): none
 
 
Returns: nothing
 
 
Example(s):
 
VN_DISP_WHEELMENU displayAddEventHandler ["KeyUp", {call vn_fnc_wm_EH_closeWM;}];
 
*/
 
 
 
 
 
params["_disp","_btn","_btn_shift","_btn_ctrl","_btn_alt"];
 
private _ButtonDisabled = false;
 
private _BD = {_ButtonDisabled = true;};
 
 
 
private _data = ["WheelMenu"] call VN_fnc_kbm_getKey; // _data =&gt; [int,bool,bool,bool] (default)
 
 
 
// Check if the given Key and Shift/Ctrl/Alt Combo is assigned in the KeybindMenu
 
if([_btn, _btn_shift, _btn_ctrl, _btn_alt] isEqualTo _data)then
 
{
 
call _BD;
 
_display_wm = VN_DISP_WHEELMENU;
 
if(!isNull _display_wm)then
 
{
 
_display_wm closeDisplay 1;
 
};
 
_ButtonDisabled
 
};
 
//EOF
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_wm_EH_closeWM]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_wm_text_adjustFontSize</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= wheelmenu
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_wm_text_adjustFontSize.sqf
 
Author: Dscha
 
Date: 2020-08-10
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Adjusting the textsize (sizeEx) of control (type = 0), until it fit's in or it reaches the min. size.
 
//////////////////// IMPORTANT:
 
///// Waiting for "getTextWidth" to be implemented...
 
///// Means: Ignore this file for now. It's a dirty/hacky way, but at least it works...
 
///// "ui_f_vietnam_c\ui\functions\fn_checkFontSize.sqf" &lt;-- proper one
 
////////////////////////////////////////////////////////////////////////////////
 
 
 
Parameter(s):
 
_lastSelectorIDC - IDC of the control, wich should be checked [Number, defaults to -1]
 
 
Returns: nothing
 
 
Example(s):
 
[ctrlIDC _ctrl] call VN_fnc_WM_text_adjustFontSize;
 
*/
 
 
 
 
 
/*
 
*/
 
 
 
params [ ["_lastSelectorIDC",-1,[0]]];
 
if(_lastSelectorIDC isEqualTo -1)exitWith{systemchat localize "STR_VN_UI_AFS_ERR_NO_IDC"};
 
 
 
_ctrl_centerText = VN_WM_CENTER_TXT_CTRL;
 
private _sizeEx = 0.95;
 
private _ctrl_text_w = ctrlTextWidth _ctrl_centertext;
 
private _ctrl_size_w = (ctrlPosition _ctrl_centertext)#2;
 
 
 
//"loop", until it's small enough. Since it can't/won't be suspendable -&gt; *shrug* let's do it the cheap'n'dirty way
 
_checkTextWidth =
 
{
 
private _ctrl_text_w = ctrlTextWidth _ctrl_centertext;
 
private _ctrl_size_w = (ctrlPosition _ctrl_centertext)#2;
 
if(_ctrl_text_w &gt;= _ctrl_size_w)then
 
{
 
_sizeEx = _sizeEx - 0.01;
 
if(_sizeEx &lt;= 0.7)exitWith{_sizeEx = 0.7}; //just to be sure
 
_ctrl_centertext ctrlSetFontHeight TXT_CST(_sizeEx);
 
call _checkTextWidth;
 
};
 
};
 
 
 
if(isNil "DEV_WM_LASTSELECTOR")then{DEV_WM_LASTSELECTOR = -1;};
 
if(_ctrl_text_w &gt;= _ctrl_size_w)then
 
{
 
DEV_WM_LASTSELECTOR = _lastSelectorIDC;
 
call _checkTextWidth;
 
}else{
 
if !(DEV_WM_LASTSELECTOR isEqualTo _lastSelectorIDC)then
 
{
 
_ctrl_centertext ctrlSetFontHeight TXT_CST(_sizeEx);
 
};
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_wm_text_adjustFontSize]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_getRelPosDisp</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= wheelmenu
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_getRelPosDisp.sqf
 
Author: Dscha
 
Date: 2020-05-24
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
get relative Position on Display (4:3 to current AspectRatio).
 
 
Parameter(s):
 
_center - CenterPoint - Position to check [ARRAY, defaults to [0.5,0.5]]
 
_distance - Distance to CenterPoint [NUMBER, defaults to 0.1]
 
_angle - Angle 0..360 [NUMBER, defaults to 0]
 
_angle_offset - Offset to Angle [NUMBER, defaults to 0]
 
 
 
//Center of calculation (UI Space 0..1)
 
["_center",[0.5,0.5],[[]]],
 
//distance to center (UI Space 0..1)
 
["_distance",0.1,[0]],
 
//erm... angle? (0..360)
 
["_angle",0,[0]],
 
//offset of starting angle (e.g. starting at 10° instead of 0)
 
["_angle_offset",0,[0]]
 
 
Returns:
 
UI-Coords of relative Position [ARRAY]
 
 
 
Example(s):
 
[ [0.5, 0.5], (pixelW * pixelGrid * 14.5), (360/10), -90] call vn_fnc_getRelPosDisp;
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_getRelPosDisp]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_cmdOL_check</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= cmdOverlay
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_cmdOL_check.sqf
 
Author: Dscha
 
Date: 2020-07-22
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
- Start the Masterloop for the Command Overlay.
 
- Will wait, until an Item is added to "vn_cmdOL_ctrlToAdd"
 
 
Parameter(s): none
 
 
Returns: nothing
 
 
 
Example(s):
 
[] spawn vn_fnc_cmdOL_check;
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_cmdOL_check]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_cmdOL_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= cmdOverlay
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_cmdOL_init.sqf
 
Author: Dscha
 
Date: 2020-10-08
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
prepare all the data for the "Command Overlay".
 
 
Parameter(s):
 
_isReset - If, for whatever reason, the Overlay needs a reset (e.g. some other script removes all cutRsc) -&gt; Do not reset the Icon Index Variable [BOOLEAN, defaults to FALSE]
 
 
Returns: nothing
 
 
Example(s):
 
[] call vn_fnc_cmdOL_init;
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_cmdOL_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_cmdOL_receive</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= cmdOverlay
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_cmdOL_receive.sqf
 
Author: Dscha
 
Date: 2020-08-10
 
Last Update: 2020-11-11
 
Public: No
 
 
Description:
 
Adding the Texture/Icon to the "ActiveIcons"-list, nothing else. Rest will be handled by "vn_fnc_cmdOL_check".
 
 
Parameter(s):
 
_UsedIcon - Path to image/texture/Icon/whatever you wanna show there [STRING, defaults to ""]
 
_senderName - Name of the person, that sent the "command" [STRING, defaults to ""]
 
_actionName - Name of the action, that was executed [STRING, defaults to ""]
 
 
Returns: nothing
 
 
Example(s):
 
[
 
"vn\ui_f_vietnam\ui\wheelmenu\img\handsignals\ui_wm_selector_hand_001_ca.paa"
 
,"playername A"
 
,"Take Cover"
 
] call vn_fnc_cmdOL_receive;
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_cmdOL_receive]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_playGesture</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= cmdOverlay
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_playGesture.sqf
 
Author: Dscha
 
Date: 2020-08-10
 
Last Update: 2020-12-06
 
Public: No
 
 
Description:
 
- play given animation and send the selected Icon (via CmdOverlay) to all Groupmembers within reach ("vn_cmdOL_maxDistance").
 
 
Parameter(s):
 
_UsedIcon - path to selected Icon [STRING, defaults to ""]
 
_gesture - Gesture [STRING, defaults to ""]
 
_actionName - String OR Stringtable - not beeing used atm, still keeping it for future-updates [STRING, defaults to ""]
 
_showNotification - Show in CmdOverlay or not [BOOLEAN, defaults to TRUE]
 
 
Returns: nothing
 
 
Example(s):
 
[
 
"vn\ui_f_vietnam\ui\wheelmenu\img\handsignals\ui_wm_selector_hand_001_ca.paa"
 
,"vn_handsignal_freeze"
 
,"STR_VN_UI_WM_SELECTOR_HAND_001_DN" //"I am a Text"
 
,true
 
] call vn_fnc_playGesture;
 
*/
 
 
 
//get the relevant Info for the player
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_playGesture]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_showDebrief</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= debriefing
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_showDebrief.sqf
 
    Author: Heyoxe
 
    Date: 2020-05-26
 
    Last Update: 2020-06-30
 
    Public: No
 
 
 
    Description:
 
        Shows the Campaign Endscreen.
 
 
 
    Parameter(s):
 
_name - Mission name [STRING, defaults to &lt;briefingName&gt; (command)]
 
_state - Mission state (success, failure, ...) [STRING, defaults to "" (empty string)]
 
_task - Task, will be parsed as a strucutredText [STRING, defaults to "" (empty string)]
 
_debrief - Debriefing, will be parsed as a strucutredText [STRING, defaults to "" (empty string)]
 
_note - Sticky note, will be parsed as a strucutredText [STRING, defaults to "" (empty string)]
 
_image - Main image [STRING, defaults to "" (empty string)]
 
_background - Background image [STRING, defaults to "" (empty string)]
 
_key - key to press [STRING, defaults to "" (empty string)]
 
 
 
    Returns: nothing
 
 
 
    Example(s):
 
[
 
"Eldest Son",
 
"Success",
 
localize "STR_VN_DEBRIEFING_CO01_OVERVIEW",
 
localize "STR_VN_DEBRIEFING_CO01_FAILOBJECTIVE",
 
localize "STR_VN_DEBRIEFING_CO01_NOTES",
 
"\vn\missions_f_vietnam\data\img\m01\debrief_fail.jpg",
 
"\vn\missions_f_vietnam\data\img\m01\debrief_fail.jpg",
 
"Space"
 
] call VN_fnc_showDebrief
 
*/
 
 
 
 
 
params [
 
["_name", briefingName, [""]],
 
["_state", "", [""]],
 
["_task", "", [""]],
 
["_debrief", "", [""]],
 
["_note", "", [""]],
 
["_image", "", [""]],
 
["_background", "", [""]],
 
["_key", "", [""]]
 
];
 
createDialog "VN_Debriefing";
 
 
 
private _static = [
 
["Name", _name],
 
["Progression", _state],
 
["Image", _image],
 
["Frame", "\vn\ui_f_vietnam\ui\debrief\pictureframe.paa"],
 
["BackgroundImage", _background]
 
, ["Note", _note]
 
];
 
 
 
if (_note isEqualTo "") then
 
{
 
private _control = uiNamespace getVariable ['VN_DebriefDisplay_Sticky', controlNull];
 
_control ctrlShow false;
 
}
 
else
 
{
 
private _maxChar = 400;
 
private _charCount = count _note;
 
if (_charCount &gt; _maxChar) then
 
{
 
private _maxContent = _note select [0, _maxChar];
 
private _splitted = _maxContent splitString " ";
 
reverse _splitted;
 
_splitted deleteAt 0;
 
reverse _splitted;
 
private _newContent = (_splitted joinString " ") + "...";
 
_note = _newContent;
 
private _charDelta = _charCount - _maxChar;
 
private _message = format ["[WARNING] VN::Campaign::Enscreen : Note cannot contain more than 370 characters. Current character count: %1. %2 characters will be cut of.", _charCount, _charDelta];
 
// systemChat _message;
 
diag_log _message;
 
};
 
};
 
 
 
private _structured =[
 
["Task", _task]
 
, ["Debrief", _debrief]
 
// , ["Note", _note]
 
];
 
 
 
private _controlName = "";
 
private _control = controlNull;
 
 
 
{
 
_controlName = format ['VN_DebriefDisplay_%1', (_x#0)];
 
_control = uiNamespace getVariable [_controlName, controlNull];
 
_control ctrlSetText (_x#1);
 
} forEach _static;
 
 
 
{
 
_controlName = format ['VN_DebriefDisplay_%1', (_x#0)];
 
_control = uiNamespace getVariable [_controlName, controlNull];
 
_control ctrlSetStructuredText parseText (_x#1);
 
} forEach _structured;
 
 
 
if !(_key isEqualTo "") then
 
{
 
private _rgba = ["GUI", "BCG_RGB"] call BIS_fnc_displayColorGet;
 
private _hex = _rgba call BIS_fnc_colorRGBtoHTML;
 
private _text = format ["&lt;t size='1.2' shadow='2' align='center'&gt;%1&lt;/t&gt;", localize "STR_VN_UI_CB_HOLD"];
 
private _name = format ["&lt;t color='%2'&gt;%1&lt;/t&gt;", _key, _hex];
 
private _inserted = format [_text, _name];
 
_control = uiNamespace getVariable ['VN_DebriefDisplay_HoldAction', controlNull];
 
_control ctrlSetStructuredText (parseText _inserted);
 
};
 
 
 
{
 
_x ctrlEnable false;
 
} forEach allControls (uiNamespace getVariable ['VN_DebriefDisplay', displayNull]);
 
 
 
private _holdCtrl = uiNamespace getVariable ['VN_DebriefDisplay_HoldAction', controlNull];
 
_holdCtrl ctrlSetPosition [
 
(safeZoneX + safeZoneW) / 2 - (ctrlTextWidth _holdCtrl),
 
(ctrlPosition _holdCtrl)#1,
 
(ctrlTextWidth _holdCtrl),
 
(ctrlTextHeight _holdCtrl)
 
];
 
_holdCtrl ctrlCommit 0;
 
 
 
private _continueCtrl = uiNamespace getVariable ['VN_DebriefDisplay_Continue', controlNull];
 
private _pos = ctrlPosition _holdCtrl;
 
_continueCtrl ctrlSetPosition [
 
_pos#0 - 0.1,
 
_pos#1 - 0.05,
 
_pos#2 + 0.2,
 
_pos#3 + 0.1
 
];
 
_continueCtrl ctrlCommit 0;
 
_continueCtrl ctrlEnable true;
 
_continueCtrl ctrlAddEventHandler ["ButtonClick", {
 
missionNamespace setVariable ["vn_end_mission_end_skip",true];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_showDebrief]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_showMultipleOptionsModal</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= multipleOptionsModal
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_showMultipleOptionsModal.sqf
 
Author: Heyoxe
 
Date: 2020-09-19
 
Last Update: 2020-11-07
 
Public: Yes
 
 
 
Description:
 
Opens up the modal dialog.
 
 
 
Parameter(s):
 
_title - Title of the vote [String]
 
_options - String array of options [[_optionTitle, _optionAction,_optionArguments][]]
 
_onExit - Function called when a player exits the modal, a nested array is passed to the function. Nested array is as follow: [_this: See OnUnload EH, _selected: Array of selected option indexes] [Code]
 
_radio - Do the options act as radio buttons (only 1 can be selected) or normal checkboxes (multiple can be selected) [Boolean, defaults to TRUE]
 
 
 
Returns:
 
Was the dialog successfully created. Functions fails when you provide an empty title, or no options [BOOLEAN]
 
 
 
Example(s):
 
[
 
"Do you like pineapple on pizza? ",
 
[
 
["Yes", { systemChat str _this; }, []],
 
["No", { systemChat str _this; }, []],
 
["No, but I never tried", { systemChat str _this; }, []],
 
["Yes, but I never tried", { systemChat str _this; }, []],
 
["I am neutral", { systemChat str _this; }, []]
 
],
 
{ systemChat str _this; },
 
true
 
] call VN_fnc_showMultipleOptionsModal;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_showMultipleOptionsModal]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_menu_credits</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= end
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_credits.sqf
 
    Author: Ethan Johnson, Heyoxe
 
    Date: 2020-05-28
 
    Last Update: 2020-07-02
 
    Public: No
 
 
 
    Description:
 
    Plays credits scene over menu display
 
 
 
    Parameter(s):
 
    _control - Control [CONTROL]
 
 
 
    Returns:
 
    NOTHING
 
 
 
    Example(s):
 
    [true, { hint "Credits done!"; }] call vn_fnc_credits
 
*/
 
 
 
 
 
// params
 
// [
 
//        ["_continued_text",false,[false]],
 
//        ["_end_code",{true},[{}]]
 
// ];
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_menu_credits]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_menu_music</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= end
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_menu_music.sqf
 
Author: Heyoxe
 
Date: 2020-12-09
 
Last Update: 2020-12-09
 
Public: No
 
 
Description:
 
Handles main menu music.
 
 
 
Parameter(s):
 
_playlist - Array of [_classname, _padding][ARRAY]
 
 
 
Returns: nothing
 
 
Example(s): none
 
*/
 
 
 
// private _playlist = [['', 1], ['vn_freedom_bird', -6], ['vn_blues_for_suzy', 17], ['vn_freedom_bird', 0]];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_menu_music]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_eh_control_cancel_onButtonClick</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_eh_control_cancel_onButtonClick.sqf
 
Author: Heyoxe
 
Date: 2020-10-25
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Handles Cancel button click.
 
 
Parameter(s):
 
_control - A control [CONTROL]
 
 
 
Returns: nothing
 
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_eh_control_cancel_onButtonClick]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_eh_control_default_onButtonClick</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_eh_control_default_onButtonClick.sqf
 
Author: Heyoxe
 
Date: 2020-10-25
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Handles Default button click.
 
 
 
Parameter(s):
 
_control - A control [CONTROL]
 
 
 
Returns: nothing
 
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_eh_control_default_onButtonClick]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_eh_control_input_onkeyDown</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_eh_control_input_onKeyDown.sqf
 
Author: Heyoxe
 
Date: 2020-10-25
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
No description added yet.
 
 
Parameter(s):
 
_control - Control attached to the event [CONTROL]
 
_key - DIK Code of the pressed key [NUMBER]
 
_shift - Is SHIFT pressed [BOOLEAN]
 
_ctrl - Is CTRL pressed [BOOLEAN]
 
_alt - Is ALT pressed [BOOLEAN]
 
 
 
Returns:
 
Always returns true [BOOLEAN]
 
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_eh_control_input_onkeyDown]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_eh_control_ok_onButtonClick</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_eh_control_ok_onButtonClick.sqf
 
Author: Heyoxe
 
Date: 2020-10-25
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Handles OK button click.
 
 
 
Parameter(s):
 
_control - A control [CONTROL]
 
 
 
Returns: nothing
 
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_eh_control_ok_onButtonClick]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_eh_display_onLoad</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_eh_display_onLoad.sqf
 
Author: Heyoxe
 
Date: 2020-10-25
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Loads the display.
 
 
 
Parameter(s):
 
_display - A Display [DISPLAY]
 
 
 
Returns: nothing
 
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_eh_display_onLoad]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_getKey</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_getKey.sqf
 
Author: Heyoxe
 
Date: 2020-10-14
 
Last Update: 2020-11-06
 
Public: Yes
 
 
Description:
 
Returns the currently assigned keybind to a specific action.
 
 
Parameter(s):
 
_action - Name of the action as define in the confign [STRING, defaults to "]
 
 
 
Returns:
 
_parsed: Array representing the current assigned key and it's modifiers [ARRAY]
 
0 - _key: &lt;Number&gt; DIK Key code.
 
1 - _shift: &lt;Boolean&gt; Needs Shift modifier to be pressed.
 
2 - _ctrl: &lt;Boolean&gt; Needs Ctrl modifier to be pressed.
 
3 - _alt: &lt;Boolean&gt; Needs Alt modifier to be pressed.
 
 
Example(s):
 
private _data = ["GestureMenu"] call VN_fnc_kbm_getKey; // _data =&gt; [15,false,false,false] (default)
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_getKey]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_keyName</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_keyName.sqf
 
Author: Heyoxe
 
Date: 2020-10-25
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Formats the key name with the modifiers.
 
 
Parameter(s):
 
_key - DIK Code [NUMBER]
 
_shift - Has SHIFT pressed [BOOLEAN]
 
_ctrl - Has CTRL pressed [BOOLEAN]
 
_alt - Has ALT pressed [BOOLEAN]
 
 
Returns:
 
Formated key name [STRING]
 
 
 
Example(s): none
 
*/
 
 
 
 
 
 
 
private _this = [(_this#0)] + ((_this select [1,3]) apply { if (_x isEqualType 0) then { [false,true]#_x } else { _x }});
 
params ["_key", "_shift", "_ctrl", "_alt"];
 
 
 
private _keyName = [];
 
if (_shift) then { _keyName = _keyName + [(keyName DIK_LSHIFT)] };
 
if (_ctrl) then { _keyName = _keyName + [(keyName DIK_LCONTROL)] };
 
if (_alt) then { _keyName = _keyName + [(keyName DIK_LALT)] };
 
if (_key isEqualTo 1) then
 
{
 
_keyName = format ["&amp;lt;%1&amp;gt;", localize "STR_VN_UI_KBM_NOT_ASSIGNED"];
 
}
 
else
 
{
 
_keyName = _keyName + [keyName _key];
 
_keyName = (((_keyName joinString " + ") splitString "") select { !(_x isEqualTo """") }) joinString "";
 
};
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_keyName]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_load</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_load.sqf
 
Author: Heyoxe
 
Date: 2020-08-10
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Initialize the keybindings loading and adds the event handler to the mission.
 
 
Parameter(s): none
 
 
Returns:
 
Not used [SCRIPTHANDLE]
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_load]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_loadKeys</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_loadKeys.sqf
 
Author: Heyoxe
 
Date: 2020-08-10
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Loads the keybinds into the localNamespace.
 
 
Parameter(s): none
 
 
Returns: nothing
 
 
 
Example(s): none
 
*/
 
 
 
 
 
// Loads all the keys to the localNamespace
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_loadKeys]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_loadTable</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_loadTable.sqf
 
Author: Heyoxe
 
Date: 2020-08-05
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Populates the keybinding's menu table with the keybinds.
 
 
Parameter(s):
 
_control - Table Control [CONTROL]
 
 
Returns: none
 
 
Example(s): none
 
*/
 
 
 
 
 
 
 
params [
 
"_control"
 
];
 
 
 
private _list = _control;
 
private _keybinds = "true" configClasses (configFile &gt;&gt; "VN_CfgKeybindings");
 
lnbClear _list;
 
{
 
private _pfnsName = format ["VN_keybinds_%1", configName _x];
 
private _saved = profileNamespace getVariable [_pfnsName, []];
 
private _keys = if (_saved isEqualTo []) then
 
{
 
(getArray (_x &gt;&gt; "default"))
 
}
 
else
 
{
 
_saved
 
};
 
 
 
private _name = _keys call VN_fnc_kbm_keyName;
 
 
 
 
 
private _row = _list lnbAddRow [
 
getText (_x &gt;&gt; "name"),
 
_name
 
];
 
_list lnbSetTooltip [[_row, 0], (getText (_x &gt;&gt; "tooltip"))];
 
_list lnbSetData [[_row, 0], _pfnsName];
 
} forEach _keybinds;
 
 
 
_list ctrlAddEventHandler ["LBDblClick", VN_fnc_KBM_onLBDblClick];
 
 
 
call VN_fnc_kbm_loadKeys;
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_loadTable]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_onButtonClick</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_onButtonClick.sqf
 
Author: Heyoxe
 
Date: 2020-08-10
 
Last Update: 2020-11-06
 
Public: No
 
 
 
Description:
 
Handle a button click in the keybinding's menu.
 
 
Parameter(s):
 
_control - Button control [CONTROL]
 
 
 
Returns: nothing
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_onButtonClick]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_onKey</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_onKey.sqf
 
Author: Heyoxe
 
Date: 2020-08-05
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Handles the KeyDown / KeyUp event in the mission.
 
 
Parameter(s):
 
_isUp - Is KeyUp [BOOLEAN]
 
_params - Event params [ARRAY]
 
_display - &lt;DISPLAY&gt; Mission Display [DISPLAY]
 
_dik - DIK code of key pressed [NUMBER]
 
_shift - Shift key pressed [BOOLEAN]
 
_ctrl - Ctrl key pressed [BOOLEAN]
 
_alt - Alt key pressed [BOOLEAN]
 
 
Returns: anything
 
 
Example(s): none
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_onKey]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_onLBDblClick</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_onLBDblClick.sqf
 
Author: Heyoxe
 
Date: 2020-08-10
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Handles LNB double-clicking to edit behavior.
 
 
 
Parameter(s):
 
_control - Table control [CONTROL]
 
_index - Row index [NUMBER]
 
 
Returns: nothing
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_onLBDblClick]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_kbm_onLoad</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= keybinding
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_kbm_onLoad.sqf
 
Author: Heyoxe
 
Date: 2020-08-05
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Keybindins menu load.
 
 
Parameter(s):
 
_control - Loader control [CONTROL]
 
 
Returns: nothing
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_kbm_onLoad]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_ui_oscar_show</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= oscar
 
 
 
|d= &lt;pre&gt;/*
 
    File: ui_oscar_show.sqf
 
    Author: Heyoxe
 
    Date: 2021-03-26
 
    Last Update: 2021-03-26
 
    Public: No
 
 
 
    Description:
 
        Shows plaque.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): [] spawn vn_fnc_ui_oscar_show;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_ui_oscar_show]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_ui_oscar_setText</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= oscar
 
 
 
|d= &lt;pre&gt;/*
 
    File: ui_oscar_setText.sqf
 
    Author: Heyoxe
 
    Date: 2021-03-06
 
    Last Update: 2021-03-06
 
    Public: No
 
 
 
    Description:
 
        Set the plaque's text
 
 
 
    Parameter(s):
 
_control - Structured Text Control [CONTROL]
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_ui_oscar_setText]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_ui_oscar_hide</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= oscar
 
 
 
|d= &lt;pre&gt;/*
 
    File: ui_oscar_hide.sqf
 
    Author: Heyoxe
 
    Date: 2021-03-26
 
    Last Update: 2021-03-26
 
    Public: No
 
 
 
    Description:
 
        Hides plaque.
 
 
 
    Parameter(s):
 
        _removeBlack - Remove background? [BOOLEAN, default true]
 
 
 
    Returns: nothing
 
 
 
    Example(s): [] spawn vn_fnc_ui_oscar_hide;
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_ui_oscar_hide]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_onLoad</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_onLoad.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Handles UI Loading.
 
 
 
    Parameter(s):
 
        _display - UI Display [Display]
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_onLoad]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_onUpdate</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_onUpdate.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Handles UI Updates.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_onUpdate]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_setAdditional</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_setAdditional.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets additional frequency.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_setAdditional]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_setAudio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_setAudio.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets audio speakers.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_setAudio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_setChannel</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_setChannel.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets channel.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_setChannel]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_setFrequency</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_setAdditional.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets frequency.
 
   
 
    Parameter(s): none
 
   
 
    Returns: nothing
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_setFrequency]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_setKHz</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_setKHz.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets KHzs.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_setKHz]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_setMHz</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_setMHz.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets MHzs.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_setMHz]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_setStereo</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_setAudio.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets stereo.
 
   
 
    Parameter(s): none
 
   
 
    Returns: nothing
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_setStereo]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_PRC77_setVolume</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_PRC77_setVolume.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets volume.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_PRC77_setVolume]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_onLoad</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_VRC12_onLoad.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Handles UI Loading.
 
 
 
    Parameter(s):
 
        _display - UI Display [Display]
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_onLoad]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_onUpdate</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_VRC12_onUpdate.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Handles UI Updates.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_onUpdate]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_setAdditional</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_VRC12_setAdditional.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets additional frequency.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_setAdditional]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_setAudio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_VRC12_setAudio.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets audio speakers.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_setAudio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_setChannel</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_VRC12_setChannel.sqf
 
Author: Heyoxe
 
Date: 2020-08-04
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Sets the channel
 
 
 
Parameter(s): &lt;&lt;same as onMouseButtonDown&gt;&gt;
 
 
 
Returns: nothing
 
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_setChannel]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_setFrequency</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_VRC12_setFrequency.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets channel.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_setFrequency]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_setKHz</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_VRC12_setKHz.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets KHzs.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_setKHz]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_setMHz</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_VRC12_setMHz.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets MHzs.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_setMHz]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_setStereo</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_VRC12_setStereo.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets stereo.
 
   
 
    Parameter(s): none
 
   
 
    Returns: nothing
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_setStereo]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_VRC12_setVolume</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_VRC12_setVolume.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets volume.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_VRC12_setVolume]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_onLoad</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T102E_onLoad.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Handles UI Loading.
 
 
 
    Parameter(s):
 
        _display - UI Display [Display]
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_onLoad]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_onUpdate</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T102E_onUpdate.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Handles UI Updates.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_onUpdate]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_setAdditional</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T102E_setAdditional.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets additional frequency.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_setAdditional]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_setAudio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T102E_setAudio.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets audio speakers.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_setAudio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_setChannel</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T102E_setChannel.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets channel.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_setChannel]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_setFrequency</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_T102E_setFrequency.sqf
 
Author: Heyoxe
 
Date: 2020-08-04
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Sets the frequency
 
 
 
Parameter(s): none
 
 
 
Returns: nothing
 
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_setFrequency]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_setKHz</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T102E_setKHz.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets KHzs.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_setKHz]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_setMHz</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T102E_setMHz.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets MHzs.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_setMHz]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_setStereo</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T102E_setStereo.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets stereo.
 
   
 
    Parameter(s): none
 
   
 
    Returns: nothing
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_setStereo]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T102E_setVolume</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T102E_setVolume.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets volume.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T102E_setVolume]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_onLoad</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T884_onLoad.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Handles UI Loading.
 
 
 
    Parameter(s):
 
        _display - UI Display [Display]
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_onLoad]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_onUpdate</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T884_onUpdate.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Handles UI Updates.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
if (!isMultiplayer) exitWith { hint "TFAR Functions only work in multiplayer!" };
 
private _activeRadio = TF_lr_dialog_radio;
 
 
 
 
 
/* Channel Dial */
 
// Angles: 1: 20, 9: -120
 
private _channel = _activeRadio call TFAR_fnc_getLrChannel;
 
private _channelControl = uiNamespace getVariable ['#VN_Radio_T884_ChannelDial', controlNull];
 
private _angle = 20 + ((-120 - 20) * (_channel / 8));
 
_channelControl ctrlSetAngle [_angle, 0.5, 0.5, true];
 
 
 
 
 
/* Additional Switch */
 
private _additional = _activeRadio call TFAR_fnc_getAdditionalLrChannel;
 
private _additionalControl = uiNamespace getVariable ['#VN_Radio_T884_AdditionalSwitch', controlNull];
 
private _isAdditional = _additional isEqualTo _channel;
 
private _texture = ["off", "on"] select _isAdditional;
 
_additionalControl ctrlSetText format ["\vn\ui_f_vietnam\ui\radios\%1_ca.paa", _texture];
 
 
 
 
 
/* Volume Dial */
 
// Angles: 0: 35, 10: -130
 
private _volume = _activeRadio call TFAR_fnc_getLrVolume;
 
private _volumeControl = uiNamespace getVariable ['#VN_Radio_T884_VolumeDial', controlNull];
 
private _angle = 35 + ((-130 - 35) * (_volume / 10));
 
_volumeControl ctrlSetAngle [_angle, 0.5, 0.5, true];
 
 
 
 
 
/* Stereo Dial */
 
private _stereo = _activeRadio call TFAR_fnc_getCurrentLrStereo;
 
private _stereoControl = uiNamespace getVariable ['#VN_Radio_T884_StereoSwitch', controlNull];
 
private _position = [28.2, 29, 30] select _stereo;
 
_stereoControl ctrlSetPositionX (UIX(_position));
 
_stereoControl ctrlCommit 0;
 
 
 
/* Frequency */
 
private _frequency = (((parseNumber (_activeRadio call TFAR_fnc_getLrFrequency)) min 87 max 30) toFixed 2);
 
(_frequency splitString ".") apply { parseNumber _x } params ["_mhz", "_khz"];
 
if ((count str _khz) isEqualTo 1) then { _khz = format ["%1%2", _khz, 0] };
 
private _frequencyDisplay = uiNamespace getVariable ['#VN_Radio_T884_FrequencyDisplay', controlNull];
 
private _f = parseNumber ((format ["%1.%2", _mhz, _khz]) select [0,4]) toFixed 1;
 
_frequencyDisplay ctrlSetText format ["%1%2", _f, "0"];
 
 
 
/* Speaker */
 
private _speakerControl = uiNamespace getVariable ['#VN_Radio_T884_AudioSwitch', controlNull];
 
private _texture = ["off", "on"] select (_activeRadio call TFAR_fnc_getLrSpeakers);
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_onUpdate]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_setAdditional</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T884_setAdditional.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets additional frequency.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_setAdditional]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_setAudio</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T884_setAudio.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets audio speakers.
 
 
 
    Parameter(s): none
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_setAudio]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_setChannel</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
File: fn_T884_setChannel.sqf
 
Author: Heyoxe
 
Date: 2020-08-04
 
Last Update: 2020-11-06
 
Public: No
 
 
Description:
 
Sets the channel
 
 
 
Parameter(s): &lt;&lt;same as onMouseButtonDown&gt;&gt;
 
 
 
Returns: nothing
 
 
 
Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_setChannel]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_setFrequency</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T884_setFrequency.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets channel.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_setFrequency]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_setKHz</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T884_setKHz.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
 
 
    Description:
 
        Sets KHzs.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_setKHz]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_setMHz</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T884_setMHz.sqf
 
    Author: Heyoxe
 
    Date: 2020-07-24
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets MHzs.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_setMHz]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_setStereo</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T884_setStereo.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets stereo.
 
   
 
    Parameter(s): none
 
   
 
    Returns: nothing
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_setStereo]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_T884_setVolume</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_T884_setVolume.sqf
 
    Author: Heyoxe
 
    Date: 2020-08-04
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Sets volume.
 
 
 
    Parameter(s): &lt;&lt;Same as onMouseButtonDown&gt;&gt;
 
 
 
    Returns: nothing
 
 
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_T884_setVolume]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_URC10_onLoad</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_URC10_onLoad.sqf
 
    Author: Terra
 
    Date: 2020-08-12
 
    Last Update: 2020-09-13
 
    Public: No
 
   
 
    Description:
 
        No description added yet.
 
   
 
    Parameter(s):
 
        _display - Display from the onLoad UIEH [DISPLAY, defaults to NIL]
 
   
 
    Returns:
 
        Function reached the end [BOOL]
 
   
 
    Example(s):
 
        onLoad = _this call vn_fnc_URC10_onLoad; // Used in config
 
*/
 
 
 
params ["_display"];
 
//--- Volume
 
_ctrlVolumeUp = _display displayCtrl VN_IDC_RSCDISPLAYURC10_VOLUMEUP;
 
_ctrlVolumeUp ctrlAddEventHandler ["ButtonClick",{
 
    [1, false] call TFAR_fnc_setVolumeViaDialog;
 
}];
 
_ctrlVolumeDown = _display displayCtrl VN_IDC_RSCDISPLAYURC10_VOLUMEDOWN;
 
_ctrlVolumeDown ctrlAddEventHandler ["ButtonClick",{
 
    [0, false] call TFAR_fnc_setVolumeViaDialog;
 
}];
 
//--- Stereo setting
 
_ctrlStereo = _display displayCtrl VN_IDC_RSCDISPLAYURC10_STEREO;
 
_ctrlStereo ctrlAddEventHandler ["ButtonClick",{
 
    [
 
        TF_sw_dialog_radio,
 
        ((TF_sw_dialog_radio call TFAR_fnc_getCurrentSwStereo) + 1) mod 3
 
    ] call TFAR_fnc_setSwStereo;
 
    [TF_sw_dialog_radio] call TFAR_fnc_showRadioVolume;
 
}];
 
//--- Channel +/-
 
_ctrlChannelRotator = _display displayCtrl VN_IDC_RSCDISPLAYURC10_CHANNELROTATOR;
 
_ctrlChannelRotator ctrlAddEventHandler ["MouseButtonDown",{
 
    [_this#1, false] call TFAR_fnc_setChannelViaDialog;
 
}];
 
//--- Set
 
//--- Macros from tfar\addons\core\defines.hpp
 
#define TFAR_FREQUENCYSTRING_TO_FREQNUMBER(frequency) parseNumber ( ((frequency) splitString ",.") joinString "." )
 
#define TFAR_MIN_SW_FREQ 30
 
#define TFAR_MAX_SW_FREQ 512
 
#define TFAR_FREQ_ROUND_POWER 10 //x/10 decimals after decimal point 10 = 1.1, 100 = 1.11
 
#define QTFAR_ROUND_FREQUENCYP(frequency,pwr) (if ((frequency mod 1) == 0) then {frequency toFixed 0} else {frequency toFixed (pwr/10)})
 
#define QTFAR_ROUND_FREQUENCY(frequency) QTFAR_ROUND_FREQUENCYP(frequency,TFAR_FREQ_ROUND_POWER)
 
 
 
_ctrlSet = _display displayCtrl VN_IDC_RSCDISPLAYURC10_SET;
 
//--- At this point we have to check if the older version of tfar is loaded
 
//--- because then the UIEH is a bit different (supporting legacy code if fun fun fun)
 
_uiehSet = if !(call vn_fnc_TFAR_isOldVersion) then {{
 
    params [["_ctrlSet", 0, [0, controlNull]]];
 
    _ctrlFrequency = (ctrlParent _ctrlSet) displayCtrl VN_IDC_RSCDISPLAYURC10_FREQUENCY;
 
 
 
    private _frequency = TFAR_FREQUENCYSTRING_TO_FREQNUMBER(ctrlText _ctrlFrequency);
 
    if ((_frequency &gt;= TFAR_MIN_SW_FREQ) and {_frequency &lt;= TFAR_MAX_SW_FREQ}) then {
 
        [TF_sw_dialog_radio, QTFAR_ROUND_FREQUENCY(_frequency)] call TFAR_fnc_setSwFrequency;
 
            ["OnFrequencyChangedFromUI", [TFAR_currentUnit, TF_sw_dialog_radio, QTFAR_ROUND_FREQUENCY(_frequency)]] call TFAR_fnc_fireEventHandlers;
 
        call TFAR_fnc_hideHint;
 
    } else {
 
        hint formatText [localize 'STR_TFAR_CORE_incorrect_frequency', TFAR_MIN_SW_FREQ, TFAR_MAX_SW_FREQ]
 
    };
 
    call TFAR_fnc_updateSWDialogToChannel;
 
}} else {{
 
    _f = parseNumber(ctrlText VN_IDC_RSCDISPLAYURC10_FREQUENCY);
 
 
 
    if ((_f &gt;= TF_MIN_SW_FREQ) and (_f &lt;= TF_MAX_SW_FREQ)) then {
 
        [TF_sw_dialog_radio, str (round (_f * TF_FREQ_ROUND_POWER) / TF_FREQ_ROUND_POWER)] call TFAR_fnc_setSwFrequency;
 
        call TFAR_fnc_hideHint;
 
    } else {
 
        hint formatText [localize 'STR_incorrect_frequency', TF_MIN_SW_FREQ, TF_MAX_SW_FREQ]
 
    };
 
    call TFAR_fnc_updateSWDialogToChannel;
 
}};
 
_ctrlSet ctrlAddEventHandler ["ButtonClick", _uiehSet];
 
//--- Clear
 
_ctrlClear = _display displayCtrl VN_IDC_RSCDISPLAYURC10_CLEAR;
 
_ctrlClear ctrlAddEventHandler ["ButtonClick",{
 
    params ["_ctrlClear"];
 
    _display = ctrlParent _ctrlClear;
 
    _ctrlFrequency = _display displayCtrl VN_IDC_RSCDISPLAYURC10_FREQUENCY;
 
    _ctrlFrequency ctrlSetText "";
 
    ctrlSetFocus _ctrlFrequency;
 
}];
 
//--- Additional
 
_ctrlAdditional = _display displayCtrl VN_IDC_RSCDISPLAYURC10_ADDITIONAL;
 
_ctrlAdditional ctrlAddEventHandler ["ButtonClick",{
 
    [TF_sw_dialog_radio, TF_sw_dialog_radio call TFAR_fnc_getSwChannel] call TFAR_fnc_setAdditionalSwChannel;
 
    call TFAR_fnc_updateSWDialogToChannel;
 
    [TF_sw_dialog_radio, false] call TFAR_fnc_showRadioInfo;
 
}];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_URC10_onLoad]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_M252_onLoad</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_M252_onLoad.sqf
 
    Author: Terra
 
    Date: 2020-08-14
 
    Last Update: 2020-09-13
 
    Public: No
 
   
 
    Description:
 
        Handles M252 load.
 
   
 
    Parameter(s):
 
        _display - The display passed down from the onLoad UIEH [DISPLAY, defaults to NIL]
 
   
 
    Returns:
 
        Always returns true [BOOLEAN]
 
   
 
    Example(s):
 
        onLoad = _this call vn_fnc_M252_onLoad; // Used in config
 
*/
 
 
 
params ["_display"];
 
//--- Stereo
 
_ctrlStereo = _display displayCtrl VN_IDC_RSCDISPLAYM252_STEREO;
 
_ctrlStereo ctrlAddEventHandler ["ButtonClick",{
 
    [
 
        TF_sw_dialog_radio,
 
        ((TF_sw_dialog_radio call TFAR_fnc_getCurrentSwStereo) + 1) mod 3
 
    ] call TFAR_fnc_setSwStereo;
 
    [TF_sw_dialog_radio] call TFAR_fnc_showRadioVolume;
 
}];
 
_ctrlVolumeRotator = _display displayCtrl VN_IDC_RSCDISPLAYM252_VOLUME;
 
_ctrlVolumeRotator ctrlAddEventHandler ["MouseButtonDown", {
 
    [_this#1, false] call TFAR_fnc_setVolumeViaDialog;
 
}];
 
_ctrlChannelRotator = _display displayCtrl VN_IDC_RSCDISPLAYM252_CHANNELROTATOR;
 
_ctrlChannelRotator ctrlAddEventHandler ["MouseButtonDown", {
 
    [_this#1, false] call TFAR_fnc_setChannelViaDialog;
 
}];
 
 
 
//--- Set
 
//--- Macros from tfar\addons\core\defines.hpp
 
#define TFAR_FREQUENCYSTRING_TO_FREQNUMBER(frequency) parseNumber ( ((frequency) splitString ",.") joinString "." )
 
#define TFAR_MIN_SW_FREQ 30
 
#define TFAR_MAX_SW_FREQ 512
 
#define TFAR_FREQ_ROUND_POWER 10 //x/10 decimals after decimal point 10 = 1.1, 100 = 1.11
 
#define QTFAR_ROUND_FREQUENCYP(frequency,pwr) (if ((frequency mod 1) == 0) then {frequency toFixed 0} else {frequency toFixed (pwr/10)})
 
#define QTFAR_ROUND_FREQUENCY(frequency) QTFAR_ROUND_FREQUENCYP(frequency,TFAR_FREQ_ROUND_POWER)
 
 
 
_ctrlSet = _display displayCtrl VN_IDC_RSCDISPLAYM252_SET;
 
//--- At this point we have to check if the older version of tfar is loaded
 
//--- because then the UIEH is a bit different (supporting legacy code if fun fun fun)
 
_uiehSet = if !(call vn_fnc_TFAR_isOldVersion) then {{
 
    //--- The newer version is active
 
    params [["_ctrlSet", 0, [0, controlNull]]];
 
    _ctrlFrequency = (ctrlParent _ctrlSet) displayCtrl VN_IDC_RSCDISPLAYM252_FREQUENCY;
 
 
 
    private _frequency = TFAR_FREQUENCYSTRING_TO_FREQNUMBER(ctrlText _ctrlFrequency);
 
    if ((_frequency &gt;= TFAR_MIN_SW_FREQ) and {_frequency &lt;= TFAR_MAX_SW_FREQ}) then {
 
        [TF_sw_dialog_radio, QTFAR_ROUND_FREQUENCY(_frequency)] call TFAR_fnc_setSwFrequency;
 
        ["OnFrequencyChangedFromUI", [TFAR_currentUnit, TF_sw_dialog_radio, QTFAR_ROUND_FREQUENCY(_frequency)]] call TFAR_fnc_fireEventHandlers;
 
        call TFAR_fnc_hideHint;
 
    } else {
 
        hint formatText [localize 'STR_TFAR_CORE_incorrect_frequency', TFAR_MIN_SW_FREQ, TFAR_MAX_SW_FREQ]
 
    };
 
    call TFAR_fnc_updateSWDialogToChannel;
 
}} else {{
 
    //--- This is the old version
 
    _f = parseNumber(ctrlText VN_IDC_RSCDISPLAYM252_FREQUENCY);
 
 
 
    if ((_f &gt;= TF_MIN_SW_FREQ) and (_f &lt;= TF_MAX_SW_FREQ)) then {
 
        [TF_sw_dialog_radio, str (round (_f * TF_FREQ_ROUND_POWER) / TF_FREQ_ROUND_POWER)] call TFAR_fnc_setSwFrequency;
 
        call TFAR_fnc_hideHint;
 
    } else {
 
        //--- Another difference are the localisation strings
 
        hint formatText [localize 'STR_incorrect_frequency', TF_MIN_SW_FREQ, TF_MAX_SW_FREQ]
 
    };
 
    call TFAR_fnc_updateSWDialogToChannel;
 
}};
 
_ctrlSet ctrlAddEventHandler ["ButtonClick", _uiehSet];
 
//--- Clear
 
_ctrlClear = _display displayCtrl VN_IDC_RSCDISPLAYM252_CLEAR;
 
_ctrlClear ctrlAddEventHandler ["ButtonClick",{
 
    params ["_ctrlClear"];
 
    _display = ctrlParent _ctrlClear;
 
    _ctrlFrequency = _display displayCtrl VN_IDC_RSCDISPLAYM252_FREQUENCY;
 
    _ctrlFrequency ctrlSetText "";
 
    ctrlSetFocus _ctrlFrequency;
 
}];
 
//--- Additional
 
_ctrlAdditional = _display displayCtrl VN_IDC_RSCDISPLAYM252_ADDITIONAL;
 
_ctrlAdditional ctrlAddEventHandler ["ButtonClick",{
 
    [TF_sw_dialog_radio, TF_sw_dialog_radio call TFAR_fnc_getSwChannel] call TFAR_fnc_setAdditionalSwChannel;
 
    call TFAR_fnc_updateSWDialogToChannel;
 
    [TF_sw_dialog_radio, false] call TFAR_fnc_showRadioInfo;
 
}];
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_M252_onLoad]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_TFAR_isOldVersion</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= radios
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_TFAR_isOldVersion.sqf
 
    Author: Heyoxe
 
    Date: 2020-09-10
 
    Last Update: 2020-09-10
 
    Public: No
 
   
 
    Description:
 
        Checks if user is using an old version of TFAR
 
   
 
    Parameter(s): none
 
   
 
    Returns:
 
Is an old version of TFAR [Boolean]
 
   
 
    Example(s): none
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_TFAR_isOldVersion]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_burnit</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_functions
 
 
 
|d= ''N/A''
 
 
 
|s= [] call [[VN_fnc_burnit]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_burnit_action</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_burnit_action.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-11-18
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Function called when user uses the "Burn Hut" action on a building
 
 
 
    Parameter(s):
 
    _hut - Building object [OBJECT, defaults to OBJNULL]
 
    _player - Player's object [OBJECT, defaults to OBJNULL]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [building_01, player] call vn_fnc_burnit_action
 
*/
 
 
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_burnit_action]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_remoteSay3D</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_functions
 
 
 
|d= &lt;pre&gt;// Execute say3D on all systems, written by TeTeT
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_remoteSay3D]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
<page>
 
<title>VN_fnc_vn_sniper_tree_init</title>
 
<revision>
 
<timestamp>2019-09-16T12:47:00Z</timestamp>
 
<contributor></contributor>
 
<comment>Generated by LM_exportFunctionsToWiki.sqf</comment>
 
<text>
 
{{Function
 
 
 
|v= 1.00
 
 
 
|a=
 
 
 
|e=
 
 
 
|g1= vn_functions
 
 
 
|d= &lt;pre&gt;/*
 
    File: fn_sniper_tree_init.sqf
 
    Author: Ethan Johnson
 
    Date: 2020-11-18
 
    Last Update: 2021-01-04
 
    Public: No
 
 
 
    Description:
 
    Function called when the sniper tree is initilized at mission start. Will only run once per tree.
 
 
 
    Parameter(s):
 
    _data - Data array which contains the tree object [ARRAY, defaults to []]
 
    _faction - Side number for the units in the tree [NUMBER, defaults to 0
 
    _traps - Should the tree spawn traps around it [BOOL, defaults to FALSE]
 
 
 
    Returns:
 
    Function reached the end [BOOL]
 
 
 
    Example(s):
 
    [[tree_01],0,false] call VN_fnc_sniper_tree_init
 
*/
 
 
 
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''&lt;/small&gt;
 
 
 
|s= [] call [[VN_fnc_vn_sniper_tree_init]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
|p1v=
 
 
 
|p2n=
 
|p2t=
 
|p2d=
 
|p2v=
 
 
 
|r1t=
 
|r1d=
 
 
 
|x1= &lt;code&gt;-&lt;/code&gt;
 
}}
 
</text>
 
<minor/>
 
</revision>
 
</page>
 
</mediawiki>
 

Latest revision as of 06:01, 28 April 2022

Opposite of Fast.