Yoko
http://forum.yoko.com.ua/

cast on player ..help
http://forum.yoko.com.ua/viewtopic.php?f=17&t=12977
Page 1 of 1

Author:  iRuLez [ 2007-12-30 18:22:01 ]
Post subject:  cast on player ..help

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:
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?

Author:  iRuLez [ 2008-01-02 03:09:38 ]
Post subject: 

up

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/