camPreload: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
(preloads everything)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Preload the scene for the prepared camera. Time gives timeout, zero means no (infinite) timeout. |DESCRIPTION=
| Preloads the scene for the prepared camera. Time gives timeout, zero means no (infinite) timeout. <br><br>{{Informative | This command will read prepared params set with [[camPrepareFOV]], [[camPreparePos]] and [[camPrepareTarget]], so no [[camCommitPrepared]] is necessary. If [[camPrepareFOV]] is not set, the default value is 1. If [[camPrepareTarget]] (for direction) and [[camPreparePos]] (for position) are not set, current [[direction]] and [[position]] of the camera are used. The prepared camera preload will preload main camera as well. [[cameraEffect]] is not necessary}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:52, 23 September 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Preloads the scene for the prepared camera. Time gives timeout, zero means no (infinite) timeout.

This command will read prepared params set with camPrepareFOV, camPreparePos and camPrepareTarget, so no camCommitPrepared is necessary. If camPrepareFOV is not set, the default value is 1. If camPrepareTarget (for direction) and camPreparePos (for position) are not set, current direction and position of the camera are used. The prepared camera preload will preload main camera as well. cameraEffect is not necessary
Groups:
Uncategorised

Syntax

Syntax:
camera camPreload time
Parameters:
camera: Object
time: Number
Return Value:
Nothing

Examples

Example 1:
_camera camPreload 5

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

Notes

Bottom Section