Dota 2 Workshop Tools/Scripting/API/Global.PrecacheUnitByNameAsync: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 6: | Line 6: | ||
''' void PrecacheUnitByNameAsync(string '' | ''' void PrecacheUnitByNameAsync(string ''string_1'', handle ''handle_2'') ''' | ||
''Asynchronously precaches a DOTA unit by its dota_npc_units.txt name, provides a callback when it's finished.'' | ''Asynchronously precaches a DOTA unit by its dota_npc_units.txt name, provides a callback when it's finished.'' | ||
Line 19: | Line 19: | ||
|- | |- | ||
| string | | string | ||
| | | string_1 | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| handle | | handle | ||
| | | handle_2 | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 07:29, 19 June 2015

Function Description
void PrecacheUnitByNameAsync(string string_1, handle handle_2)
Asynchronously precaches a DOTA unit by its dota_npc_units.txt name, provides a callback when it's finished.
Parameters
Type | Name | Description |
---|---|---|
string | string_1 | No Description Set |
handle | handle_2 | No Description Set |