[DiscordArchive] <@286540708750295040> lovely, logs show in chat or console?
[DiscordArchive] <@286540708750295040> lovely, logs show in chat or console?
Archived author: Natrist • Posted: 2023-10-22T15:03:22.614000+00:00
Original source
The WorldSession class has a method called SendNotification
Archived author: MadBits • Posted: 2023-10-22T15:03:45.947000+00:00
Original source
Aye, found it there, tho not sure how to access it
Archived author: Natrist • Posted: 2023-10-22T15:04:12.647000+00:00
Original source
You can also call GetPlayer() from the WorldSession class and that should return a Player object, which you can call SendChatMessage() from, if I remember correctly.
Archived author: Natrist • Posted: 2023-10-22T15:04:50.321000+00:00
Original source
I know in the client the function is called SendChatMessage but in AzerothCore I'm not sure
Archived author: Natrist • Posted: 2023-10-22T15:05:28.523000+00:00
Original source
btw I looked at the code that handles transports and it seems like it's loading the data from the world database table named transports
Archived author: Natrist • Posted: 2023-10-22T15:08:03.910000+00:00
Original source
I think the 'animation' data is loaded from a client database file (DBC)
Archived author: Natrist • Posted: 2023-10-22T15:09:30.904000+00:00
Original source
what you want to do is a little complicated because there's many things to take into consideration if you wanna make it feel good
Archived author: Natrist • Posted: 2023-10-22T15:10:20.772000+00:00
Original source
for example, you can easily teleport the player wherever you want when the transport teleports, but the problem is you need to change the transport's position as well and give it an 'animation' path
Archived author: MadBits • Posted: 2023-10-22T15:10:47.670000+00:00
Original source
Ah I'm not gonna bother with that, just trying to learn Azerothcore and C++ in the same time, a fun way to do so
Archived author: MadBits • Posted: 2023-10-22T15:10:56.241000+00:00
Original source
I'm not looking for anything too complex at the moment tbh