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) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
| Line 4: | Line 4: | ||
''' int CreateUnitByNameAsync(string '''', Vector '''', bool '''', handle '''', handle '''', int '''', handle '''') ''' | ''' int CreateUnitByNameAsync(string ''a'', Vector ''b'', bool ''c'', handle ''d'', handle ''e'', int ''f'', handle ''g'') ''' | ||
''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 )'' | ||
Revision as of 23:07, 8 August 2014
Function Description
int CreateUnitByNameAsync(string a, Vector b, bool c, handle d, handle e, int f, handle g)
Creates a DOTA unit by its dota_npc_units.txt name ( szUnitName, vLocation, bFindClearSpace, hNPCOwner, hUnitOwner, iTeamNumber, hCallback )
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 |
| handle | g | No Description Set |
Returns
int - No Description Set