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 8: Line 8:
''' void AddItemByName(string ''pszItemName'') '''
''' void AddItemByName(string ''pszItemName'') '''


''CDOTA_BaseNPC:AddItemByName''
''Add an item to this unit's inventory.''





Revision as of 23:31, 18 June 2015

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

Function Description

void 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