Dota 2 Workshop Tools/Scripting/API/Global.CreateUnitFromTable: 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 6: | Line 6: | ||
''' hscript CreateUnitFromTable( | ''' hscript CreateUnitFromTable(handle ''handle_1'', Vector ''Vector_2'') ''' | ||
''Creates a new data-driven entity with the given table'' | ''Creates a new data-driven entity with the given table'' | ||
Line 18: | Line 18: | ||
! Description | ! Description | ||
|- | |- | ||
| | | handle | ||
| | | handle_1 | ||
| No Description Set | |||
|- | |||
| Vector | |||
| Vector_2 | |||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 02:06, 17 June 2015

Function Description
hscript CreateUnitFromTable(handle handle_1, Vector Vector_2)
Creates a new data-driven entity with the given table
Parameters
Type | Name | Description |
---|---|---|
handle | handle_1 | No Description Set |
Vector | Vector_2 | No Description Set |
Returns
hscript - The unit created