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

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
(Dota_Lebot push: Updated Page)
Line 6: Line 6:




''' void PrecacheUnitByNameAsync(string ''a'', handle ''b'') '''
''' 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
| a
| string_1
| No Description Set
| No Description Set
|-
|-
| handle
| handle
| b
| handle_2
| No Description Set
| No Description Set
|}
|}

Revision as of 07:29, 19 June 2015

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

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