Dota 2 Workshop Tools/Scripting/API/Global.CreateUnitFromTable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
(Dota_Lebot push: Updated Page)
Line 6: Line 6:




''' hscript CreateUnitFromTable(handle ''handle_1'', Vector ''Vector_2'') '''
''' 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 ==


''hscript'' - The unit created
''handle'' - The unit created

Revision as of 17:27, 15 November 2015

Note.pngNote: This page is automatically generated. Any changes may be overwritten

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