![]() |
Go to label if Monster - Printable Version +- BBot - The best bot of the world (https://forums.bmega.net) +-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html) +--- Forum: Requests (https://forums.bmega.net/forum-17.html) +--- Thread: Go to label if Monster (/thread-20821.html) |
Go to label if Monster - edwino4 - 02-11-2018 Hellow Can someone write for me a macro, that if a juggernaut appears on the screen, it stop to attack current monsters (dark torturer, destro or hellspawn) and escapes to label (hmm name: safe)? RE: Go to label if Monster - Kazan - 02-11-2018 it's not that easy like you think it is it's impossible to make it in one macro ![]() RE: Go to label if Monster - edwino4 - 02-11-2018 (02-11-2018, 06:44 PM)Kazan Wrote: it's not that easy like you think it is Maybe somone can do this. Nothing is impossible for ppl in this forum ![]() RE: Go to label if Monster - Catar - 02-11-2018 as kazan said, its not something easy that you can put in one short macro... I could do it if i was making it for myself with my own characters and my own script, but its not something i can just write on forum for someone. But here is how it would look like: First part of macro is easy, u need to track if there is that jug on screen and stop attacking with turning killer off. then if its a cave, you need make labels between waypoints on way back to safe spot that bot can reach by mouseclick (meaning, not blocked by fires, boxes, bunch of creatures, etc) cuz if there are possibilities of fire and other fields, and or existance of objects like box or parcel, that you can not walk by mouseclick, it would require you to make label every ~7 sqm to be safe. Then macro for each mentioned zone between labeled points (max 7x5sqm) that would recognise if your charcter is being in specific rectangular Self.PositionIn(X1, Y1, Z1, X2, Y2, Z2) which you would assign correct label to go from that point. BUT if there are no fire fields, no loads of monsters and u dont care for it to be 100% safe, you can just put one label on same floor (Z) in the safe spot and make macro like this Code: Creatures.ByName(Juggernaut)>=1 Then in that safe spot you need something to trigger killer back on. like manual macro that u activate as waypoint in cavebot Code: Killer.Start() ![]() Code: Creatures.ByName(Juggernaut)>=1 [a] small reminder, u need to use latest bbot , 82.6+ RE: Go to label if Monster - edwino4 - 02-11-2018 I made something like that: But i think that my bot will attack all of those monster which it was on screen before the juggernatu appeared. Also it will automatically start attacking monsters if Juggernaut isnt on screen even if bot dont reach his destination ((32422, 32214, 8)). Creatures.ByName(Juggernaut)>=1 [else] Killer.Stop() Self.MoveTo(32422, 32214, 8) Exit() {else} Killer.Start() Exit() I will try it later ![]() Also my character dont follow attacked monsters (hes waiting when mosnter come ![]() RE: Go to label if Monster - Catar - 02-11-2018 (02-11-2018, 08:13 PM)edwino4 Wrote: Creatures.ByName(Juggernaut)>=1 [else] sorry, but ill give you my honest opinion on it thats crap as soon as jug goes out of screen, macro wuld start killer imidiately, cavebot would still overwrite that point you put in macro and try to go to next one on the list. RE: Go to label if Monster - edwino4 - 02-11-2018 Thanks i will check later that what u wrote. REP + for you RE: Go to label if Monster - edwino4 - 02-13-2018 I wrote this macro in bot: (also its work ! XD) Code: Creatures.ByName(Juggernaut)>=1 Then i add macro in cavebot (waypont) this: Code: Killer.Start() and now its look like this: Code: Point (33503 31755 8) But when my character reach this waypont with macro name killer start, its nothing happend. I mean he is running on spot but doesn't start attacking monsters again. Also i add this macro (Killer.Start) in manual like u said. What should i do? I removed this manual killer macro from cavebot and change killer.start () in macro from manual to automatic every 5 sec. Atm it work. But maybe u have better idea? RE: Go to label if Monster - Catar - 02-13-2018 eee? save macro Killer.Start() as MANUAL, try namig it with single word, and put in waypoint. should work But as i said in begining, best macro would be more specific, with Self.PositionIn() zones which would take a longer time to make but would be much safer |