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(table ''unitProperties'') '''
''' 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
|-
|-
| table
| handle
| unitProperties
| handle_1
| No Description Set
|-
| Vector
| Vector_2
| No Description Set
| No Description Set
|}
|}

Revision as of 02:06, 17 June 2015

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

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