Dota 2 Workshop Tools/Scripting/API/Global.PrecacheResource: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
(Dota_Lebot push: Updated Page)
Line 20: Line 20:
| string
| string
| precacheMode
| precacheMode
| Valid Modes: particle, particler_folder, model, model_folder, and soundfile
| Valid Modes: particle, particle_folder, model, model_folder, and soundfile
|-
|-
| string
| string
| resource
| resource
| No Description Set
| Path to the specific resource, or a folder with the resources if folder is specified
|-
|-
| handle
| handle

Revision as of 03:29, 6 September 2014

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

void PrecacheResource(string precacheMode, string resource, handle context)

Manually precache a single resource


Parameters

Type Name Description
string precacheMode Valid Modes: particle, particle_folder, model, model_folder, and soundfile
string resource Path to the specific resource, or a folder with the resources if folder is specified
handle context No Description Set