10-15-2016, 10:34 AM
Hello, i looking for option to make bot targeting monsters only when 2 or more creatures on screen
Attack monsters when 2 or more
|
10-15-2016, 10:34 AM
Hello, i looking for option to make bot targeting monsters only when 2 or more creatures on screen
something like this? 2:18
10-18-2016, 09:23 AM
Yea like this thx men
THIS MACRO WONT WORK ON NEW BBOT VERSION
HERE IS UPDATED Maybe some explanation how it works will be usefll. It will start attacking hellspawns when 2 or more on screen. But also it will start attacking when there is one hellspawn for OVER 3 SECOND on screen. This is why i have !helltime!>=6 there you need 2 macros for this This is main macro, that setups killer on/off [macro]500 {Lure} helle:=Creatures.ByRangeName(8, Hellspawn) ilem:=Creatures.ByRange(5) !helle!>=2 [zabij] Killer.Start() HUD.Print(2, 1, 200, 222, 250, 500, Attack) Exit() {zabij} !helltime!>=6 [zabij2] Killer.Start() HUD.Print(2, 1, 200, 222, 250, 500, Attack) exit() {zabij2} Killer.Stop() HUD.Print(2, 1, 200, 222, 250, 500, Lure) Exit() {poziom} !ilem!()>=2 Misc.StandTime()>2 Killer.Start() HUD.Print(2, 1, 200, 222, 250, 500, Attack) Exit() [/macro] And macro that times how long it sees hellspawn (adds 1 every half second, so if variable helltime reaches 6, lure macro will start attacking) [macro]500 {helltimer} Creatures.ByRangeName(5, Hellspawn)>=1 [ad] VarAdd(helltime, 1) exit() {ad} helltime:=0 exit() [/macro]
10-18-2016, 01:30 PM
Okey but when i want to use it on calassa quaras i just need to make X coppies of it and in all name another monster ?
(10-18-2016, 01:30 PM)halucyfer Wrote: Okey but when i want to use it on calassa quaras i just need to make X coppies of it and in all name another monster ? No. u can summarize them... for example this helle:=Creatures.ByRangeName(8, Hellspawn) counts hellspawns and this would count demons demce:=Creatures.ByRangeName(8, Demon) U can create new variable to add them up mobs:=!helle! (first it copies value of helle into mobs) VarAdd(mobs, !demce!) (now it adds number of demce to it.) Then instead using this in macro i gave u !helle!>=2 [zabij] u need to use this !mobs!>=2 [zabij] Same thing goes to that Timer macro (just use different name for Summarized variable [macro]500 {mobtimer} demce:=Creatures.ByRangeName(8, Demon) helle:=Creatures.ByRangeName(8, Hellspawn) mobbs:=!demce! VarAdd(mobbs, !helle!) !mobbs!>=1 [ad] VarAdd(mobtime, 1) exit() {ad} mobtime:=0 exit() [/macro] there is also one more thing u can do with it, but it wont be perfect, like putting specific names of creatures.. You can simly count ALL monsters on screen and use that number to decide whether turn on killer or not.. But as u could see on video, in my case it would count fire elementals, which i simply dont care about. BBOT macro language is very easy once u understand syntax.... and allows you to make almost anything u want ;d
12-28-2016, 10:32 PM
(10-18-2016, 02:19 PM)Catar Wrote:(10-18-2016, 01:30 PM)halucyfer Wrote: Okey but when i want to use it on calassa quaras i just need to make X coppies of it and in all name another monster ? ok ok, i try but i dont understand how to modific the macro to allow char atack two diferenet mobs.... Plx can u add crystal spider and ice golem to macro?? and timer too? god will be compensate u in close future for sure... thx in advance Ps sorry my poor english skill (12-28-2016, 10:32 PM)leonel13jaime Wrote: ok ok, i try but i dont understand how to modific the macro to allow char atack two diferenet mobs.... [macro]500 {Lure} mob1:=Creatures.ByRangeName(8, Crystal Spider) mob2:=Creatures.ByRangeName(8, Ice Golem) mob3:=Creatures.ByRangeName(8, Ice Witch) mob4:=Creatures.ByRangeName(8, Just Put Another Name Here) mobs:=!mob1! VarAdd(mobs, !mob2!) VarAdd(mobs, !mob3!) VarAdd(mobs, !mob4!) !mobs!>=2 [zabij] Killer.Start() HUD.Print(2, 1, 200, 222, 250, 500, Attack) Exit() {zabij} !mobtime!>=8 [zabij2] Killer.Start() HUD.Print(2, 1, 200, 222, 250, 500, Attack) exit() {zabij2} Killer.Stop() HUD.Print(2, 1, 200, 222, 250, 500, Lure) Exit() [/macro] [macro]500 {mobtimer} mon1:=Creatures.ByRangeName(8, Crystal Spider) mon2:=Creatures.ByRangeName(8, Ice Golem) mon3:=Creatures.ByRangeName(8, Ice Witch) mon4:=Creatures.ByRangeName(8, Just Put Another Name Here) mons:=!mon1! VarAdd(mons, !mon2!) VarAdd(mons, !mon3!) VarAdd(mons, !mon4!) !mobbs!>=1 [ad] VarAdd(mobtime, 1) exit() {ad} mobtime:=0 exit()[/macro]
12-30-2016, 01:59 PM
rep +
wonderfull thanks a lot!
03-08-2017, 11:17 PM
|
« Next Oldest | Next Newest »
|