I've been working on a way to dynamically set custom patrol routes for friendly monsters. I use Zscript to directly set the monster's goal pointer to the first patrol point in a route, and each patrol point's goal to the next point in the route. I read on another post that patrol points will automatically transfer their goal pointer when a monster reaches it, but that isn't happening. Once a monster reaches the first point, it seems to clear their goal pointer, and they just go back to wandering aimlessly.
I came up with a workaround using custom classes as patrol points that use A_CheckProximity. It works, but it feels kind of sloppy. Is there a better way I can do this?
No ACS. Zscript only, please.
I came up with a workaround using custom classes as patrol points that use A_CheckProximity. It works, but it feels kind of sloppy. Is there a better way I can do this?
No ACS. Zscript only, please.
Statistics: Posted by Ershantik — Sat Mar 08, 2025 10:49 pm