could you make waittargettile to expect an obj's serial inst
Moderators: Murderator+, Murderator
-
- Posts: 45
- Joined: 2004-07-20 00:14:10
could you make waittargettile to expect an obj's serial inst
could you make waittargettile to expect an obj's serial instead of a XYZ and grab the XYZ of that obj?"
necr0potence told me to ask that, because we are trying to do a macro, to cast "X" of wall stone.
Best Regards,
Paulinho
necr0potence told me to ask that, because we are trying to do a macro, to cast "X" of wall stone.
Best Regards,
Paulinho
-
- Posts: 45
- Joined: 2004-07-20 00:14:10
Dear Yoko
i'll try to explain...
In sphere we can kill people using wall of stone. First we must cast it over the character, and cast another wall to close the character in one X. The character stays in the middle of the X, and then we can cast fire wall, killing him.
But we cant target the character because its impossible "Can't target fields directly on a character" so we have to cast the spell on a tile above the other character feet.
Is there any way to script a macro with that function ? to cast always on a tile above the lasttarget/lastattack
Best rergards
In sphere we can kill people using wall of stone. First we must cast it over the character, and cast another wall to close the character in one X. The character stays in the middle of the X, and then we can cast fire wall, killing him.
But we cant target the character because its impossible "Can't target fields directly on a character" so we have to cast the spell on a tile above the other character feet.
Is there any way to script a macro with that function ? to cast always on a tile above the lasttarget/lastattack
Best rergards
-
- Posts: 45
- Joined: 2004-07-20 00:14:10
thank you AGRS, i love you!
=@@@@ soo much
=@@@@ soo much
Last edited by paulinho4life on 2004-12-31 18:58:35, edited 1 time in total.
-
- Posts: 45
- Joined: 2004-07-20 00:14:10
Guys
is there any way to put something like lasttarget instead the serial ? Because i dont want to change everytime i start a PvP.
Re: Guys
paulinho4life wrote:is there any way to put something like lasttarget instead the serial ? Because i dont want to change everytime i start a PvP.
Don't be silly

lasttarget or lastcorpse or lastcontainer and similar points to an object.
You can use your own object like example above or use lasttarget instead of var TARGET.. It's same ...
When you use lasttarget I'm really sure You don't need change your script everytime you start PVP ... Just only target you opponent and he will be stored in lasttarget... and you your macro..
-
- Posts: 45
- Joined: 2004-07-20 00:14:10
Dear God
i tryied but it didnt work... I guess im doing something wrong.
Can you please show the modified script ?
sincerely
Paulinho.
Can you please show the modified script ?
sincerely
Paulinho.
-
- Posts: 45
- Joined: 2004-07-20 00:14:10
Re: Dear God
paulinho4life wrote:i tryied but it didnt work... I guess im doing something wrong.
Can you please show the modified script ?
sincerely
Paulinho.
Code: Select all
;don't need anymore
;Var TARGET = '0x????????' ;Frag Serial
;not good idea :) Rather not cancel last target :-)
;UO.CancelTarget()
;*lasttarget* points to lasttarget in game and *self* points to you sofirst you can check it with self
UO.WaitTargetTile('0',STR(UO.GetX(lasttarget)),STR(UO.GetY(lasttarget)),STR(UO.GetZ(lasttarget)))
UO.Cast('???')
-
- Posts: 45
- Joined: 2004-07-20 00:14:10
Re: Dear God
thank you god i love you!
=@@@@
=@@@@
Last edited by paulinho4life on 2004-12-31 18:58:07, edited 1 time in total.