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

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




''' handle CreateItem(string '''', handle '''', handle '''') '''
''' handle CreateItem(string ''item_name'', handle ''owner'', handle ''owner'') '''


''Create a DOTA item ( szScriptName, hParent, hOwner )''
''Creates an item with classname <i>item_name</i> that <i>owner</i> can use.''




Line 17: Line 17:
|-
|-
| string
| string
|  
| item_name
| No Description Set
| No Description Set
|-
|-
| handle
| handle
|  
| owner
| No Description Set
| No Description Set
|-
|-
| handle
| handle
|  
| owner
| No Description Set
| No Description Set
|}
|}

Revision as of 00:07, 9 August 2014

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

Function Description

handle CreateItem(string item_name, handle owner, handle owner)

Creates an item with classname item_name that owner can use.


Parameters

Type Name Description
string item_name No Description Set
handle owner No Description Set
handle owner No Description Set

Returns

handle - No Description Set