Search found 3 matches

by sovereign
2006-11-27 16:01:41
Forum: Scripting Ore
Topic: from finditem to lasttarget
Replies: 5
Views: 1464

If you cast a spell on object ( for example finditem ) , it automatically become lasttarget.......
it's working? yes... need something else?

It´s quite weird, but i can´t. If i stare for example rune to teleport and then i find target through findtype macro i can cast easily spells ...
by sovereign
2006-11-27 06:43:42
Forum: Scripting Ore
Topic: from finditem to lasttarget
Replies: 5
Views: 1464

sub main()
var n
Dim A[4]
A[1] = 0x0000;
A[2] = 0x0000;
A[3] = 0x0000;
A[4] = 0x0000;

FOR n=1 TO 4
UO.FindType(A[n],"-1",'ground')
UO.AddObject("cil","finditem")
UO.UseObject('finditem')
uo.msg(".stare")
UO.WaitTargetObject("cil")
wait(100)
UO.msg('.cast_lt 105 ...
by sovereign
2006-11-26 03:28:07
Forum: Scripting Ore
Topic: from finditem to lasttarget
Replies: 5
Views: 1464

from finditem to lasttarget

Hi everyone,

i have a problem with my script. I´m searching for some kind types in my script through findtype. If i find some targets i want to cast spells from scrolls or fire from cavalry crossbow on the target, but i can´t even if i stare the target through finditem. I need to switch ...