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) | RoyAwesome (talk | contribs)   (Dota_Lebot push: Updated Page) | ||
| Line 4: | Line 4: | ||
| ''' handle CreateUnitByName(string '''', Vector '''', bool '''', handle '''', handle '''', int '''') ''' | ''' 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 )'' | ''Creates a DOTA unit by its dota_npc_units.txt name ( szUnitName, vLocation, bFindClearSpace, hNPCOwner, hUnitOwner, iTeamNumber )'' | ||
| Line 17: | Line 17: | ||
| |- | |- | ||
| | string | | string | ||
| |   | | a | ||
| | No Description Set | | No Description Set | ||
| |- | |- | ||
| | Vector | | Vector | ||
| |   | | b | ||
| | No Description Set | | No Description Set | ||
| |- | |- | ||
| | bool | | bool | ||
| |   | | c | ||
| | No Description Set | | No Description Set | ||
| |- | |- | ||
| | handle | | handle | ||
| |   | | d | ||
| | No Description Set | | No Description Set | ||
| |- | |- | ||
| | handle | | handle | ||
| |   | | e | ||
| | No Description Set | | No Description Set | ||
| |- | |- | ||
| | int | | int | ||
| |   | | f | ||
| | No Description Set | | No Description Set | ||
| |} | |} | ||
Revision as of 00:07, 9 August 2014
 Note: This page is automatically generated.  Any changes may be overwritten
Note: This page is automatically generated.  Any changes may be overwrittenFunction 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