setPiPViewDistance: Difference between revisions

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


|x1= <code>[[setPiPViewDistance]] 100;</code>
|x1= <sqf>setPiPViewDistance 100;</sqf>


|x2= <code>[[setPiPViewDistance]] [[viewDistance]];</code>
|x2= <sqf>setPiPViewDistance viewDistance;</sqf>


|x3= <code>[[setPiPViewDistance]] [[getObjectViewDistance]];</code>
|x3= <sqf>setPiPViewDistance getObjectViewDistance;</sqf>


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

Latest revision as of 12:52, 3 May 2022

Hover & click on the images for description

Description

Description:
Set the PiP (Picture-in-Picture) view distance. This has no impact if PiP is disabled (see isPiPEnabled).
Groups:
System

Syntax

Syntax:
setPiPViewDistance distance
Parameters:
distance: Number - distance in meters, minimum value is 100, maximum is current view distance
Return Value:
Nothing

Examples

Example 1:
setPiPViewDistance 100;
Example 2:
setPiPViewDistance viewDistance;
Example 3:
setPiPViewDistance getObjectViewDistance;

Additional Information

See also:
getPiPViewDistance 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