camPreload: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " +" to " ")
Line 33: Line 33:
|seealso= [[camPreloaded]], [[preloadCamera]]
|seealso= [[camPreloaded]], [[preloadCamera]]
}}
}}





Revision as of 22:41, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Camera Control

Syntax

Syntax:
Syntax needed
Parameters:
camera: Object
timeout: Number
Return Value:
Nothing

Examples

Example 1:
_camera camPreload 5
Example 2:
Preload camera around player to avoid stuttering on optics zooming: [] spawn { _cam = "camera" camCreate (player selectionPosition "camera"); for "_i" from 0 to 359 do { _cam setDir _i; _cam camPrepareFov 0.25; _cam camPreload 0; waitUntil { camPreloaded _cam }; }; camDestroy _cam; };

Additional Information

See also:
camPreloadedpreloadCamera

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