Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

precache model

From Quake Wiki

Revision as of 01:24, 27 March 2013 by Necros (talk | contribs) (Created page with "====Syntax:==== <code>string precache_model(string s)</code> Precaches a model for use by the engine. Any model that you want to use MUST be precached. Precaching can only ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

string precache_model(string s)

Precaches a model for use by the engine. Any model that you want to use MUST be precached. Precaching can only be done during map load, not afterwards. Doing so will cause the engine to crash.

Parameters:

s - The path to the model being precached

Returns:

Returns a string (what string?). This is usually ignored.