[DiscordArchive] sObjectMgr->GetCreatureData(guid) might be the one?
[DiscordArchive] sObjectMgr->GetCreatureData(guid) might be the one?
Archived author: Revision • Posted: 2023-05-23T19:00:11.470000+00:00
Original source
sObjectMgr->GetCreatureData(guid) might be the one?
Archived author: Gromix • Posted: 2023-05-23T19:00:57.360000+00:00
Original source
GetCreatureData is not enough because I want to move this creature
Archived author: Revision • Posted: 2023-05-23T19:00:58.937000+00:00
Original source
You'll have to.. um.. evolve on it in order to Creature* from CreatureData (if at all possible)
Archived author: Gromix • Posted: 2023-05-23T19:01:16.308000+00:00
Original source
`creature->GetMotionMaster()->MovePoint(0, player->GetPositionX(), player->GetPositionY(), player->GetPositionZ());`
Archived author: Gromix • Posted: 2023-05-23T19:04:11.645000+00:00
Original source
> Creature* from CreatureData I do not know how to do this
Archived author: Honey • Posted: 2023-05-23T19:09:00.388000+00:00
Original source
Assuming you're still working on `.npc move`, there's a method with a name similar to player:GetSelection() somewhere.