Initial module commit
Initial module commit.
This commit is contained in:
17
_module/nss/69_hench_eqswap.nss
Normal file
17
_module/nss/69_hench_eqswap.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//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);
|
||||
}
|
Reference in New Issue
Block a user