koryperson
2013-11-30 02:58:54
So I've been testing my beginner skills at scripting combat on RSPS's I play and I've run into another issue, my last thread asked how to repeat looking for an hpbar until it finds it, blah blah blah.
This time I have a different question, so I've gotten my incombat portions of my script to work flawlessly, but there is just one minor bug I'd like to fix. I still haven't figured out how to begin the script with a click, such as on a monster, then never go through that procedure again. I'd like to use said procedure to initiate a fight with a monster, then never run through it again because my InCombat procedure would click the next one once it finds the empty HP bar.
I'd also like to know how to make it so if it searches for something using a repeat until(blahblah) and it can't find it after x amount of time, it does a different procedure/function. This part right here would be the most helpful to my combat scripts.
Thanks a ton!
This time I have a different question, so I've gotten my incombat portions of my script to work flawlessly, but there is just one minor bug I'd like to fix. I still haven't figured out how to begin the script with a click, such as on a monster, then never go through that procedure again. I'd like to use said procedure to initiate a fight with a monster, then never run through it again because my InCombat procedure would click the next one once it finds the empty HP bar.
I'd also like to know how to make it so if it searches for something using a repeat until(blahblah) and it can't find it after x amount of time, it does a different procedure/function. This part right here would be the most helpful to my combat scripts.
Thanks a ton!