BIS fnc paramViewDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
m (Text replacement - "[[Arma 3: Mission Parameters" to "[[Mission Parameters")
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Mission Parameters


|1.00|= Game version
|descr= Set view distance.
____________________________________________________________________________________________


| <pre>/*
|s1= [[viewDistance]] call [[BIS_fnc_paramViewDistance]]
Author: Jiri Wainar


Description:
|p1= viewDistance: [[Number]] - wanted view distance
Set view distance.


Parameter(s):
|r1= [[Number]] - [[viewDistance]]
NUMBER - view distance


Returns:
|x1= <sqf>7500 call BIS_fnc_paramViewDistance;</sqf>
NUMBER - view distance
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_paramViewDistance]]; --> |= Syntax
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Mission Parameters]] [[:Category:Function Group: Mission Parameters|Mission Parameters Functions]] [[setViewDistance]] [[viewDistance]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Params|{{uc:paramViewDistance}}]]
[[Category:Functions|{{uc:paramViewDistance}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:paramViewDistance}}]]

Latest revision as of 17:42, 12 February 2024

Hover & click on the images for description

Description

Description:
Set view distance.
Execution:
call
Groups:
Mission Parameters

Syntax

Syntax:
viewDistance call BIS_fnc_paramViewDistance
Parameters:
viewDistance: Number - wanted view distance
Return Value:
Number - viewDistance

Examples

Example 1:
7500 call BIS_fnc_paramViewDistance;

Additional Information

See also:
Mission Parameters Mission Parameters Functions setViewDistance viewDistance

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note