ScriptUO
Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: gruntman on June 29, 2016, 08:53:07 PM
-
I made a menu with a couple button that work with healing myself as well as a few defensive spells. I have been to many areas and have had no issue with the buttons working until now. I enter the gate into tyballs area and hit my Natures Fury or my EV button and i constantly keep getting the cannot be seen message. I have tried adjusting the target kind but that does not seem to be the issue. Can anyone point me in the direction i should be looking. Thank you!!
Gruntman
-
hehe I have the same isssue, it seen that you can't use the #CHARPOS as target. U can try to target the ground and record the location.
-
hehe I have the same isssue, it seen that you can't use the #CHARPOS as target. U can try to target the ground and record the location.
Ghost,
Thanks for your response! I am rather new to writing my own script and well could you give me an idea on how to do what you suggested please.
-
short text before bed :)
try to play around this . no idea if that will work.
display ok Please click ok and move cursor over your loot bag $ and hold it there, you have 2 seconds to do so $
wait 1s
set %targetx #cursorx
set %targety #cursory
display ok Please click ok to start the script $
sub Summon
event macro 15 57 ; energy vortex
target 4s
set #LTARGETX %targetx
set #LTARGETY %targety
set #LTARGETKIND 2
; event macro 22 0
click %targetx %targety p
return
-
set #LTARGETKIND 3 worked but only when on the blue tile area.....hrm
-
I just test that one and it work.
Had to dust this one of the closet last night and polish it a bit. Here my first snippet as a Elite.
display ok Please click ok and move cursor over your casting location $ and hold it there, you have 2 seconds to do so $
wait 1s
set %targetx #cursorx
set %targety #cursory
display ok Please click ok to start the script $
repeat
if #FOLLOWERS < 5
gosub Summon
until #FALSE
sub Summon
event macro 15 57
target 5s
set #LTARGETKIND 2
set #LTARGETX %targetx
set #LTARGETY %targety
click %targetx %targety d
wait 40
return
-
Thanks Ghost for your help!
Yes it works!!
only issue I have is the way everything is setup the target cursor popping up gets taken away by other parts of the script....ugh lol
-
I give you the fish. Now it up to you to cook it :)
I add the display so you can see what going on, you can removed them and add a wait or a event system msg.
-
I get it!! hope I do not burn it!!
lol
-
only issue I have is the way everything is setup the target cursor popping up gets taken away by other parts of the script....ugh lol
instead of display ok Please click ok and move cursor over your casting location $ and hold it there, you have 2 seconds to do so $
wait 1s
set %targetx #cursorx
set %targety #cursory
display ok Please click ok to start the script $
try
display ok Please click ok and move cursor over your casting location $ and click the spot$
set #targcurs 1
while #targcurs = 1
wait 1
set %targetx #cursorx
set %targety #cursory