API:SwapEquipmentItem

Changes to the specified equipment.
SwapEquipmentItem(index);
== Parameters ==
=== Arguments ===
: index - integer
:::   0  -  for the first equipment.
:::   1  -  for the second equipment.
:::   2  -  for the third equipment.
::: –1  -  for the previous (last chosen) equipment.
=== Returns ===
:nil
== Examples ==
SwapEquipmentItem(-1);
--Toggles between the last two chosen equipment sets.
SwapEquipmentItem(1);
--Changes to the second equipment.
Category:Functions