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

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{stub}}")
 
(Dota_Lebot push: Updated Page)
Line 1: Line 1:
{{stub}}
{{Note | This page is automatically generated.  Any changes may be overwritten}}
 
== Function Description ==
 
 
''' int CreateUnitByNameAsync(string '''', Vector '''', bool '''', handle '''', handle '''', int '''', handle '''') '''
 
''Creates a DOTA unit by its dota_npc_units.txt name ( szUnitName, vLocation, bFindClearSpace, hNPCOwner, hUnitOwner, iTeamNumber, hCallback )''
 
 
 
== Parameters ==
{| class="standard-table" style="width: 50%;"
! Type
! Name
! Description
|-
| string
|
| No Description Set
|-
| Vector
|
| No Description Set
|-
| bool
|
| No Description Set
|-
| handle
|
| No Description Set
|-
| handle
|
| No Description Set
|-
| int
|
| No Description Set
|-
| handle
|
| No Description Set
|}
 
== Returns ==
 
''int'' - No Description Set

Revision as of 23:06, 8 August 2014

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

Function Description

int CreateUnitByNameAsync(string ', Vector ', bool ', handle ', handle ', int ', handle ')

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


Parameters

Type Name Description
string No Description Set
Vector No Description Set
bool No Description Set
handle No Description Set
handle No Description Set
int No Description Set
handle No Description Set

Returns

int - No Description Set