Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.AddItemByName: 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:




''' void AddItemByName(string ''pszItemName'') '''
''' handle AddItemByName(string ''pszItemName'') '''


''Add an item to this unit's inventory.''
''Add an item to this unit's inventory.''
Line 26: Line 26:
| No Description Set
| No Description Set
|}
|}
== Returns ==
''handle'' - No Description Set

Revision as of 17:27, 15 November 2015

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

Function Description

handle AddItemByName(string pszItemName)

Add an item to this unit's inventory.


Example
function CDOTA_BaseNPC:AddItemByName( pszItemName ) end

Parameters

Type Name Description
string pszItemName No Description Set

Returns

handle - No Description Set