Death Merchant Posted February 2, 2022 Posted February 2, 2022 Guys, I'm working on a script for a spotter that finds and smokes targets. I'm using spawn and PushRoute to get him to follow a table of waypoints. When he finds a target I am using TaskOrbit to have him loiter. I'm having trouble getting him to resume the route once he is finished. Is there a way to track waypoints as they're passed, or can I return the number of the active waypoint in some manner? Thanks, DM [PC] ASUS X570E - Ryzen 9 5950X - RX 6900 XT - 32GB 3600Mhz Hornet, A-4E-C, Huey, Ka-50, Mi-8, F-15E, F-14 Join us on Death Dealers PvE server.
toutenglisse Posted February 8, 2022 Posted February 8, 2022 On 2/2/2022 at 3:28 PM, Death Merchant said: ... I'm having trouble getting him to resume the route once he is finished... Group.getByName(AIGroupName):getController():resetTask() will make AI stop orbiting and resume route. 1
Recommended Posts