1486
Script Debug / Re: FindItem timer
« on: September 01, 2013, 07:58:20 AM »
Thx Manwinc, Thx for the exemple.
Just notice that I copy an old sub This is the one I'm using now.
Right now the item are moving every 2 sec and wondering if we can make them move faster.
Can add the namespace push help me gain some speed.
Just notice that I copy an old sub This is the one I'm using now.
Code: [Select]
sub MoveItem
finditem %Item C_ , #backpackid
for #FINDINDEX 1 #FINDCNT
{
exEvent Drag #findID ; %stack
exevent dropc %itembox
wait 20
}
return #true
Right now the item are moving every 2 sec and wondering if we can make them move faster.
Can add the namespace push help me gain some speed.
Code: [Select]
sub MoveItem
namespace push
namespace local MI
finditem %Item C_ , #backpackid
for #FINDINDEX 1 #FINDCNT
{
exEvent Drag #findID ; %stack
exevent dropc %itembox
wait 20
}
namespace pop
return #true