BIS fnc paramViewDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "[[Arma 3: Mission Parameters" to "[[Mission Parameters")
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= Mission Parameters
____________________________________________________________________________________________


| Set view distance.|DESCRIPTION=
|descr= Set view distance.


____________________________________________________________________________________________
|s1= [[viewDistance]] call [[BIS_fnc_paramViewDistance]]


| [[viewDistance]] call [[BIS_fnc_paramViewDistance]] |SYNTAX=
|p1= viewDistance: [[Number]] - wanted view distance
____________________________________________________________________________________________


|p1= viewDistance: [[Number]] - Wanted view distance|PARAMETER1=
|r1= [[Number]] - [[viewDistance]]
____________________________________________________________________________________________


| [[Number]] - [[viewDistance]]|RETURNVALUE=
|x1= <sqf>7500 call BIS_fnc_paramViewDistance;</sqf>
____________________________________________________________________________________________


|x1= <code>7500 [[call]] [[BIS_fnc_paramViewDistance]];</code> |=
|seealso= [[Mission Parameters]] [[:Category:Function Group: Mission Parameters|Mission Parameters Functions]] [[setViewDistance]] [[viewDistance]]
____________________________________________________________________________________________
 
| [[Arma 3 Mission Parameters]], [[:Category:Function Group: Params|Params Functions]], [[setViewDistance]], [[viewDistance]]|SEEALSO=
}}
}}
<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