[DiscordArchive] Is ```player:GetQuest():GetName()``` correct, if I want to broadcast the player's current quest?
[DiscordArchive] Is ```player:GetQuest():GetName()``` correct, if I want to broadcast the player's current quest?
Archived author: adm • Posted: 2023-02-07T18:54:33.993000+00:00
Original source
Is ```player:GetQuest():GetName()``` correct, if I want to broadcast the player's current quest?
Archived author: Honey • Posted: 2023-02-07T18:56:54.169000+00:00
Original source
no. getquest is global
Archived author: Honey • Posted: 2023-02-07T18:58:00.926000+00:00
Original source
https://www.azerothcore.org/pages/eluna/...arch=quest
[Embed: Global:GetQuest - Eluna]
API documentation for the Global:GetQuest method in the Eluna engine.
https://www.azerothcore.org/pages/eluna/...arch=quest
Archived author: adm • Posted: 2023-02-07T18:58:55.162000+00:00
Original source
what would be the correct way to print it then?
Archived author: adm • Posted: 2023-02-07T18:59:02.233000+00:00
Original source
is there way at all
Archived author: adm • Posted: 2023-02-07T18:59:32.868000+00:00
Original source
I want to use the new player event PLAYER_EVENT_ON_COMPLETE_QUEST = 54, // (event, player, quest)
Archived author: adm • Posted: 2023-02-07T18:59:53.794000+00:00
Original source
and broadcast the completed quest
Archived author: Honey • Posted: 2023-02-07T19:09:43.974000+00:00
Original source
the quest object is already passed on to the event. All you need is
`quest:GetId()` to fetch the entry
Archived author: adm • Posted: 2023-02-07T19:18:10.476000+00:00
Original source
I will try it, thank you!
Archived author: adm • Posted: 2023-02-07T19:24:32.676000+00:00
Original source
hmm that will show only the ID of the quest though