[DiscordArchive] once i start a creature moving with `me->GetMotionMaster()->MovePath()`, how do i stop it before the
[DiscordArchive] once i start a creature moving with `me->GetMotionMaster()->MovePath()`, how do i stop it before the
Archived author: KJack • Posted: 2023-10-25T05:26:13.994000+00:00
Original source
once i start a creature moving with `me->GetMotionMaster()->MovePath()`, how do i stop it before the path completes?
I've tried...
- `me->GetMotionMaster()->Clear()` doesn't work
- `me->StopMoving()` doesn't work
- `me->AddUnitState(UNIT_STATE_ROOT);` DOES work to keep them from moving, but that can't be the right way, can it?