Original Discord Post by rookie910 | 2024-09-19 09:12:58
Hi! So i have 2 defined actions for follow and stop following in NPC actions (see picture 1).
The follow function works fine and when i run the command to the bot to follow me, it follows me as intended. no problem there. Now the issue is when i stop and tell the bot to “Stop Following” me, the stopfollow() function never gets called, and even the debug in the switch case statement “stop follow run” doesn’t get called, even though I’m sure i have everything set up properly in inspector and code. (picture 2 and 3).
Any leads for why this isn’t working would be appreciated, thank you.
Hi <@1023671043287699568> , sure!
i attached 2 images, one is when follow function is run, one when stop follow is run. stop follow seems to be stuck on processing
Hey <@1148967464672165888> can you provide the whole script for action handling, in which you implement the switch statement. Also, the stop Follow function is never getting called, so it’s probably an issue in implementation. I will take a look into it once you send that