PrecacheCharGen - Game

From the Fallout4 CreationKit Wiki
Revision as of 16:35, 18 October 2011 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

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

Syntax[edit | edit source]

Function PrecacheCharGen() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

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

See Also[edit | edit source]