Dota 2 Workshop Tools/Scripting/API/Global.CreateUnitByName

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 23:06, 8 August 2014 by RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

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

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


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

Returns

handle - No Description Set