PrecacheCharGen - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

Precaches all the data used by character gen to avoid hitches with file i/o.

Syntax

Function PrecacheCharGen() native global

Parameters

None.

Return Value

None.

Examples

; Start precaching all chargen related data
Game.PrecacheCharGen()

Notes

Be sure to call PrecacheCharGenClear() when the data is no longer needed so as to free up memory.

See Also