Page 1 of 1

cast on player ..help

Posted: 2007-12-30 18:22:01
by iRuLez
I have a prejudice boys small problem.
Should cast a player on the magic "Magic Reflection", but so far there are no problems.

This player has more than one char.
How can I make a script to make this thing?

I made a script like this:

Code: Select all

sub reflectplayer()
   uo.waittargetobject("player1")
   uo.cast("Magic Reflection")
   wait(200)
   uo.waittargetobject("player2")
   uo.cast("Magic Reflection")
   wait(200)
   uo.waittargetobject("player3")
   uo.cast("Magic Reflection")
end sub

where player1, player2, player3 are the same char.


This work, but if the player is logged with the last char script becomes slow and I can't lower the time, otherwise inject tells me: "auto target cancelled"

Is there a way to assign to a variable multiple values?

Posted: 2008-01-02 03:09:38
by iRuLez
up