I'm sure everyone is getting tired of me by now.... But I'm trying, really I am.... I've been trying to figure something out for the last 7 hours. Not wanting to ask for help but I'm at the point of ripping my hair out. I'm sure the solution isn't difficult but I can't find any info anywhere on how to do this...
In Origin, while fighting Life Leecher he spawns Dark Blood Bug which blow up and kill you. You have to switch targeting from LL to the Bug and kill it before it gets to you. When the bug spawns it is off to the side so when I try to use findtarget it is just far enough out of sight that it doesn't get targeted. target_NPC sometimes works but that makes my character run toward the bug which is the last thing I want to do.
Please, someone give me an idea what I need to do....
Meanwhile, I'll keep trying to figure something out
asking for scripting help once again
asking for scripting help once again
Scout/Knight/Rogue 70/66/66
Re: asking for scripting help once again
findTarget is a bit obsolete. What I would do is search for the bug after each skill use and change target if found.
I'm not sure what will happen if you change target in the middle of battle but it's worth a try.
Code: Select all
bug = player:findNearestNameOrId("Dark Blood Bug")
if bug then
player:target(bug)
player:update()
end- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan