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?