Best practice for implementing daily quests?

Announcements, support questions, and discussion for Quest Machine.
Post Reply
jlhacode
Posts: 77
Joined: Fri Jul 03, 2020 6:23 am

Best practice for implementing daily quests?

Post 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?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Best practice for implementing daily quests?

Post 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.
Post Reply