cast on player ..help

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
iRuLez
Posts: 104
Joined: 2006-05-04 18:40:42

cast on player ..help

Post 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?
iRuLez
Posts: 104
Joined: 2006-05-04 18:40:42

Post by iRuLez »

up
Post Reply