Dota 2 Workshop Tools/Scripting/API/Global.CreateUnitByNameAsync: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Created page with "{{stub}}") |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 1: | Line 1: | ||
{{ | {{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

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