Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.SellItem: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
		
		
		
		Jump to navigation
		Jump to search
		RoyAwesome (talk | contribs)  (Dota_Lebot push: Updated Page)  | 
				|||
| Line 8: | Line 8: | ||
''' void SellItem(handle ''a'') '''  | ''' void SellItem(handle ''a'') '''  | ||
''Sells the passed item in this unit's inventory.''  | ''Sells the passed item in this unit's inventory. The unit must be inside a shop zone.''  | ||
== Parameters ==  | == Parameters ==  | ||
Revision as of 19:38, 1 May 2015
Function Description
void SellItem(handle a)
Sells the passed item in this unit's inventory. The unit must be inside a shop zone.
Parameters
| Type | Name | Description | 
|---|---|---|
| handle | a | No Description Set |