So basically I have an enemy with the platform behavior that will move back and forth between waypoint sprites. When he reaches a waypoint he then PICKS another waypoint at random and then moves towards it, rinse and repeat.
I am trying to get him to stop while he's on his way to a waypoint.
I can stop him once he gets there but if he's already picked the waypoint I can't. I've tried disabling the waypoint group itself, I've tried inserting variables here and there. Nothing seems to work. I can stop him temporarily by disabling his platform behavior, but once I start it back up he just picks up where he left off lol.
It seems like once he's picked the waypoint and the event is running there's no stopping it. I thought about destroying the waypoint he picked, that might work right? But unfortunately for other reasons in the game destroying the waypoint isn't an option.
Any ideas on this one? I feel like I'm missing something fairly simple here.