preloadCamera

From Bohemia Interactive Community
Revision as of 21:11, 17 July 2006 by Suma (talk | contribs) (Added basic description.)
Jump to navigation Jump to search


preloadCamera position


Operand types:

Array position

Type of returned value:

Boolean

Compatibility:

Version 2.40 required.

Description:

Preload all textures and models around given position (format Position) to avoid visual artifacts after camera is moved. Should be used before any abrupt camera change / cut.

Returns true once all data are ready.

Example:

spawn {waitUntil preloadCamera markerPos "cam_location_2"}