Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.AddItemByName

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 16:27, 15 November 2015 by RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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.

function CDOTA_BaseNPC:AddItemByName( pszItemName ) end


Type Name Description
string pszItemName No Description Set


handle - No Description Set