Page 1 of 1
Best practice for implementing daily quests?
Posted: Mon Nov 09, 2020 1:26 pm
by jlhacode
Hi, I would like to add daily quests to my game, and I couldn't find anything regarding the usage of time controls for assigning quests (only documentation for timed events).
I was wondering: what's the recommended way for doing this?
Re: Best practice for implementing daily quests?
Posted: Mon Nov 09, 2020 2:56 pm
by Tony Li
Is this for a multiplayer game or single player?
Generally speaking, for hand-written quests, write a quest condition using the starter template in Quest Machine's Templates folder. Then use this condition the quest's Offer Conditions.
For procedurally-generated quests, you can control the generation by script. Maybe at midnight, or whenever a day has passed for the player, clear the current generated quest and generate a new one.