camPreload: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
||
Line 36: | Line 36: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
</dl> | </dl> | ||
Revision as of 00:31, 6 April 2021
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