Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.SwapItems
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search

Function Description
void SwapItems(int nSlot1, int nSlot2)
Swap the contents of two item slots (slot1, slot2)
- Example
function CDOTA_BaseNPC:SwapItems( nSlot1, nSlot2 ) end
Parameters
Type | Name | Description |
---|---|---|
int | nSlot1 | No Description Set |
int | nSlot2 | No Description Set |