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: | ||
''' | ''' handle 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 29: | Line 29: | ||
== Returns == | == Returns == | ||
'' | ''handle'' - The unit created | ||
Revision as of 16:27, 15 November 2015
Function Description
handle 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
handle - The unit created