generate_path does not work in HWT


I was writing a Holy Water Temple plugin to kill HWT uniques one by one. I hard-coded unique coordinates and used generate_path function to get the coordinates between 2 uniques, however it doesn’t work inside HWT. I tested my script in Downhang mobs and it worked however I couldn’t run it since I can’t generate path. Is there something I’m missing? Any help would be appreciated.