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

From Valve Developer Community
Jump to: navigation, search
Note: This page is automatically generated. Any changes may be overwritten

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