Page 1 of 1

Stopping Movement

Posted: Sat Dec 24, 2016 3:51 pm
by Gangrenous
Finishing up the visual pathing system. One thing I am slightly stuck on is stopping movement. I have tried a few things, nothing seems to work.

This did not work.

Code: Select all

movement_spawns.erase(target->GetID());
I also tried the other one

Code: Select all

target->GetZone()->RemoveMovementNPC(target);