Dota 2 Workshop Tools/Scripting/API/Global.CreateUnitByName: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
|||
Line 13: | Line 13: | ||
== Parameters == | == Parameters == | ||
{| class="standard-table" style="width: | {| class="standard-table" style="width: 50%;" | ||
! Type | ! Type | ||
! Name | ! Name | ||
! Description | ! Description | ||
|- | |- | ||
| string | | string | ||
| a | | a | ||
| | | No Description Set | ||
|- | |- | ||
| Vector | | Vector | ||
| b | | b | ||
| | | No Description Set | ||
|- | |- | ||
| bool | | bool | ||
| c | | c | ||
| | | No Description Set | ||
|- | |- | ||
| handle | | handle | ||
| d | | d | ||
| | | No Description Set | ||
|- | |- | ||
| handle | | handle | ||
| e | | e | ||
| | | No Description Set | ||
|- | |- | ||
| int | | int | ||
| f | | f | ||
| | | No Description Set | ||
|} | |} | ||
== Returns == | == Returns == | ||
''handle'' - | ''handle'' - No Description Set | ||
Revision as of 02:12, 17 June 2015

Function Description
handle CreateUnitByName(string a, Vector b, bool c, handle d, handle e, int f)
Creates a DOTA unit by its dota_npc_units.txt name ( szUnitName, vLocation, bFindClearSpace, hNPCOwner, hUnitOwner, iTeamNumber )
Parameters
Type | Name | Description |
---|---|---|
string | a | No Description Set |
Vector | b | No Description Set |
bool | c | No Description Set |
handle | d | No Description Set |
handle | e | No Description Set |
int | f | No Description Set |
Returns
handle - No Description Set