RATDOG/_module/nss/69_hench_eqswap.nss
Jaysyn904 0f13e6c538 Initial module commit
Initial module commit.
2021-08-29 23:34:48 -04:00

18 lines
457 B
Plaintext

//69_hench_eqswap
//Swap equipped melee weapons
//Created By: 69MEH69
//Created On: APR2005
void main()
{
object oRight = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND);
object oLeft = GetItemInSlot(INVENTORY_SLOT_LEFTHAND);
ClearAllActions();
ActionSpeakString("Very well.");
ActionUnequipItem(oRight);
ActionUnequipItem(oLeft);
ActionEquipItem(oLeft,INVENTORY_SLOT_RIGHTHAND);
ActionEquipItem(oRight,INVENTORY_SLOT_LEFTHAND);
}