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

From Valve Developer Community
Jump to: navigation, 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

Latest revision as of 16:27, 15 November 2015

Note.png Note:  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