[DiscordArchive] Are there any examples of scripts that enable quests to be accepted by a given player in TrinityCore
[DiscordArchive] Are there any examples of scripts that enable quests to be accepted by a given player in TrinityCore
Archived author: ACHERAX • Posted: 2023-03-10T09:14:08.992000+00:00
Original source
Are there any examples of scripts that enable quests to be accepted by a given player in TrinityCore? Or any other methods that could achieve the same result?
Archived author: ACHERAX • Posted: 2023-03-10T09:15:10.079000+00:00
Original source
Just trying to figure out the best way to go about allowing a player to accept a quest after a script has been executed (due to them completing a task not related to questing in itself - say, crafting any item for the first time. Or, perhaps the quest is to craft an item - which becomes available when you first learn the related profession), without forcing the quest onto the player.
Archived author: ACHERAX • Posted: 2023-03-10T09:16:22.462000+00:00
Original source
My first thought is to make an empty pre-requisite quest and just complete that quest for the player when they complete X task, effectively enabling the second quest in chain which requires it, but I feel like that's messy and there may be a more direct way to enable the quest (without auto-adding it or popping up a quest prompt, nothing invasive)
Archived author: Deleted User • Posted: 2023-03-10T09:27:15.968000+00:00
Original source
Do thing, apply hidden permanent aura to player, use conditions table to make the quest require that aura on the player. Done.
Archived author: robinsch • Posted: 2023-03-10T09:27:45.798000+00:00
Original source
Do not do that ^
Archived author: robinsch • Posted: 2023-03-10T09:28:03.253000+00:00
Original source
Your version with a hidden quest sounds perfectly fine
Archived author: ACHERAX • Posted: 2023-03-10T09:28:55.420000+00:00
Original source
What's wrong with the applied aura for the player? Assuming the aura is removed after completing the quest
Archived author: Deleted User • Posted: 2023-03-10T09:29:07.673000+00:00
Original source
My way won’t scale at all. Aura cap likely. But will work.
Archived author: ACHERAX • Posted: 2023-03-10T09:29:09.165000+00:00
Original source
I mean the quest -> quest thing seems more natural, but I'm curious
Archived author: robinsch • Posted: 2023-03-10T09:29:20.307000+00:00
Original source
It's way more expensive applying, removing, lookup auras.