Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NEED Follow NPC + Talk macro
#1
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
[Image: B4DJSTV.png]
Reply
#2
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.
Reply
#3
(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
[Image: B4DJSTV.png]
Reply
#4
(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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)