Dota 2 Workshop Tools/Scripting/API/Global.CreateUnitByNameAsync: 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:




''' int CreateUnitByNameAsync(string ''a'', Vector ''b'', bool ''c'', handle ''d'', handle ''e'', int ''f'', handle ''g'') '''
''' int CreateUnitByNameAsync(string ''string_1'', Vector ''Vector_2'', bool ''bool_3'', handle ''handle_4'', handle ''handle_5'', int ''int_6'', handle ''handle_7'') '''


''Creates a DOTA unit by its dota_npc_units.txt name ( szUnitName, vLocation, bFindClearSpace, hNPCOwner, hUnitOwner, iTeamNumber, hCallback )''
''Creates a DOTA unit by its dota_npc_units.txt name ( szUnitName, vLocation, bFindClearSpace, hNPCOwner, hUnitOwner, iTeamNumber, hCallback )''
Line 19: Line 19:
|-
|-
| string
| string
| a
| string_1
| No Description Set
| No Description Set
|-
|-
| Vector
| Vector
| b
| Vector_2
| No Description Set
| No Description Set
|-
|-
| bool
| bool
| c
| bool_3
| No Description Set
| No Description Set
|-
|-
| handle
| handle
| d
| handle_4
| No Description Set
| No Description Set
|-
|-
| handle
| handle
| e
| handle_5
| No Description Set
| No Description Set
|-
|-
| int
| int
| f
| int_6
| No Description Set
| No Description Set
|-
|-
| handle
| handle
| g
| handle_7
| No Description Set
| No Description Set
|}
|}

Revision as of 04:29, 19 June 2015

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

Function Description

int CreateUnitByNameAsync(string string_1, Vector Vector_2, bool bool_3, handle handle_4, handle handle_5, int int_6, handle handle_7)

Creates a DOTA unit by its dota_npc_units.txt name ( szUnitName, vLocation, bFindClearSpace, hNPCOwner, hUnitOwner, iTeamNumber, hCallback )


Parameters

Type Name Description
string string_1 No Description Set
Vector Vector_2 No Description Set
bool bool_3 No Description Set
handle handle_4 No Description Set
handle handle_5 No Description Set
int int_6 No Description Set
handle handle_7 No Description Set

Returns

int - No Description Set