Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro for changing a wapon
#1
Hello
Could anyone write macro when more then 2 creatures atack us character change wapon (knife) for better one (fire sword).
Thanks !
#2
Code:
weapon1:=SWORD_ID
weapon2:=KNIFE_ID
Creatures.ByRange(3)>2 [else]
Self.Inventory.LeftHand()<>!weapon1!
Self.Equip.LeftHand(!weapon1!)
{else}
Creatures.ByRange(3)<=2
Self.Inventory.LeftHand()<>!weapon2!
Self.Equip.LeftHand(!weapon2!)

Please remember to change SWORD_ID and KNIFE_ID.

Good Luck!
>>> Did I help you? Rep me. <<<


Forum Jump:


Users browsing this thread: 1 Guest(s)