BBot - The Best Bot of the World - Forums

Full Version: NEED Follow NPC + Talk macro
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need a macro line that works, that first starts follow to the NPC from the current position, and when its next to NPC, say "Hi, Thais, Yes" for example.

I'm in really really big need of this, and to get it to work.

I'll ofcourse leave a good reputation.
THANK YOU!


-Elmgren
you can make a fullcheck label with the distance of the npc like @NPCNAME<=3 and if hes not there go to a label to go to another sqm and check again or it will just stay there until the npc is 3 sqms or less of distance, ofc you have to create a label loop if the npc is not there. so if its not there it will loop to a fixed point and check and it will stay on the loop until the npc is of distance. PS macros to follow dont work because macro is executed on an sqm so it will always keep going to that sqm.
(01-09-2021 10:31 PM)doxmey Wrote: [ -> ]you can make a fullcheck label with the distance of the npc like @NPCNAME<=3 and if hes not there go to a label to go to another sqm and check again or it will just stay there until the npc is 3 sqms or less of distance, ofc you have to create a label loop if the npc is not there. so if its not there it will loop to a fixed point and check and it will stay on the loop until the npc is of distance. PS macros to follow dont work because macro is executed on an sqm so it will always keep going to that sqm.


Could you give me an example of how the fullcheck label would be written. Thanks
(01-10-2021 01:18 AM)Elmgren1337 Wrote: [ -> ]
(01-09-2021 10:31 PM)doxmey Wrote: [ -> ]you can make a fullcheck label with the distance of the npc like @NPCNAME<=3 and if hes not there go to a label to go to another sqm and check again or it will just stay there until the npc is 3 sqms or less of distance, ofc you have to create a label loop if the npc is not there. so if its not there it will loop to a fixed point and check and it will stay on the loop until the npc is of distance. PS macros to follow dont work because macro is executed on an sqm so it will always keep going to that sqm.


Could you give me an example of how the fullcheck label would be written. Thanks

Code:
Label (32386 31821 6:travelcarlinedron)
Fixed (32386 31821 6)
FullCheck (32386 31821 6:Full capgrey Else travelcarlinedron1 Code @Captain Greyhound<=3)
Label (32386 31821 6:capgrey)
NPCSay (32386 31821 6:hi)
NPCSay (32386 31821 6:edron)
NPCSay (32386 31821 6:yes)
GoLabel (33173 31764 6:contedron)
Label (32391 31821 6:travelcarlinedron1)
Fixed (32391 31821 6)
FullCheck (32391 31821 6:Full capgrey1 Else travelcarlinedron Code @Captain Greyhound<=3)
Label (32391 31821 6:capgrey1)
NPCSay (32391 31821 6:hi)
NPCSay (32391 31821 6:edron)
NPCSay (32391 31821 6:yes)
GoLabel (33173 31764 6:contedron)
Label (33173 31764 6:contedron)
Reference URL's