Call of Duty 4: Scripting Reference - Precache::PreCacheItem

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


PreCacheItem( <item name> )

Module: Precache

Summary:

Precaches the given item. It must be called before any wait statements in the level script.


Call this on:

Example:


Required arguments:

  1. <item name> The name of the item to precache.


Optional arguments:

none


Notes:

none