Difference between revisions of "Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.AddItemByName"

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

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 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