Hello! im new here, Iv just recently installed injection and got it to work. I have a couple of questions regarding what commands target item types, etc. These are the things i want to work:
- Cast Magic Arrow on any Explosion pot in my backpack
- Cast Gate Travel on any Recall rune in my backpack
and finally
- To pick up a weapon of that itemtype in my backpack
Please help.
Thanks
Target Item Types/Hotkeys
Moderators: Murderator+, Murderator
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
Code: Select all
var bomb=' Type of Exp '
uo.Cast('Magic Arrow',bomb)
Arrow to bomb in backpack
Code: Select all
UO.WaitTargetObject(ID of Rune)
UO.Cast('Recal') ; Gate Travell
Cast to rune
Code: Select all
Var Svord=' ' ;Type of weapon
Var Shield='' ;Type of shield
UO.Equipt('Lhand',Shield)
wait(1000)
UO.Equipt('Rhand',Svord)
Equiping
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
i think, that'll be easier to make 3 scripts with this commands, and join to hottkey their names:
to hotkey:
Code: Select all
sub bomb()
VAR bomb=' '
uo.FindType(bomb,' colour ','backpack')
if uo.Count('finditem') > 0 then
uo.Cast('Magic Arrow',bomb)
end if
end sub
to hotkey:
Code: Select all
exec bomb