camPreload: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
Line 36: Line 36:
<dl class="command_description">
<dl class="command_description">


<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>
</dl>



Revision as of 00:31, 6 April 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:
Return value needed

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