[DiscordArchive] What is causing a character to stop moving and turn to face the player?
[DiscordArchive] What is causing a character to stop moving and turn to face the player?
Archived author: Kek • Posted: 2022-06-05T13:36:36.965000+00:00
Original source
What is causing a character to stop moving and turn to face the player?
When you click on them and open their menu?
Archived author: Kek • Posted: 2022-06-05T14:20:30.135000+00:00
Original source
Found it:
```cpp
// Stop the npc if moving
if (uint32 pause = unit->GetMovementTemplate().GetInteractionPauseTimer())
unit->PauseMovement(pause);
unit->SetHomePosition(unit->GetPosition());```
Archived author: Kek • Posted: 2022-06-05T14:56:20.562000+00:00
Original source
Is there a way to increase cast time for a single creature?
I want to change a mobs cast time from 2s to 3s, without having to edit the base spell