getPiPViewDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|branch= dev " to "")
m (Some wiki formatting)
 
Line 14: Line 14:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>[[private]] _pipViewDistance = [[getPiPViewDistance]];</code>
|x1= <sqf>private _pipViewDistance = getPiPViewDistance;</sqf>


|x2= <code>[[private]] _pipViewDistanceRatio = [[getPiPViewDistance]] [[a / b|/]] [[viewDistance]];</code>
|x2= <sqf>private _pipViewDistanceRatio = getPiPViewDistance / viewDistance;</sqf>


|seealso= [[setPiPViewDistance]] [[setViewDistance]] [[setObjectViewDistance]] [[viewDistance]] [[getObjectViewDistance]]
|seealso= [[setPiPViewDistance]] [[setViewDistance]] [[setObjectViewDistance]] [[viewDistance]] [[getObjectViewDistance]]
}}
}}

Latest revision as of 12:41, 3 May 2022

Hover & click on the images for description

Description

Description:
Get the set PiP (Picture-in-Picture) view distance (that can be set by setPiPViewDistance).
Groups:
System

Syntax

Syntax:
getPiPViewDistance
Return Value:
Number

Examples

Example 1:
private _pipViewDistance = getPiPViewDistance;
Example 2:
private _pipViewDistanceRatio = getPiPViewDistance / viewDistance;

Additional Information

See also:
setPiPViewDistance setViewDistance setObjectViewDistance viewDistance getObjectViewDistance

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