Second-target problem

Ask for help

Moderators: Murderator+, Murderator

Post Reply
pegarion
Posts: 4
Joined: 2005-02-23 16:48:24

Second-target problem

Post by pegarion »

Please help me. I have serious problem with my Provocation script. When i use provocation skill, I have to sellect 2 targets. I have only serials of targets...

if .............. then
UO.print ("Provocating: " + targ1 + " Vs " + targ2)
UO.WaitTargetObject (targ2)
UO.say(".provo")
???????????????????????
endif

and now a don't kwon how to sellect the second serial :(. I tried to Use UO.LClick , but it is useless in combat..
I also heared about command UO.Target, but I don't know how to use it.

Please help ..thanx
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Post by Edred »

UO.WaitTargetObject( targ1, targ2 )
UO.UseSkill( 'Provocation' )
Post Reply