Dota 2 Workshop Tools/Scripting/API/Global.CreateItem: 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 4: | Line 4: | ||
''' handle CreateItem(string '''', handle '''', handle '''') ''' | ''' handle CreateItem(string ''item_name'', handle ''owner'', handle ''owner'') ''' | ||
'' | ''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 23:07, 8 August 2014
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