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 ''string_1'', handle ''handle_2'') ''' | ''' void PrecacheUnitByNameAsync(string ''string_1'', handle ''handle_2'', int ''int_3'') ''' | ||
''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 24: | Line 24: | ||
| handle | | handle | ||
| handle_2 | | handle_2 | ||
| No Description Set | |||
|- | |||
| int | |||
| int_3 | |||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 17:17, 8 July 2015

Function Description
void PrecacheUnitByNameAsync(string string_1, handle handle_2, int int_3)
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 |
int | int_3 | No Description Set |