[HOW TO?] Quests

Hello, first thing of all i have no idea about how to make a quest system.
I already made the basic things for my game. Basically is a car game.
The quest system should work in this way: go to a spot > press a key and complete a quest > new quest.
I saw DiaQ but i need some help because i don’t know how to use it for my project.
This is my car script:

Thanks.

There’s multiple ways to do it. Here is how I’d do it:

  • The place to finish a quest is a GameObject with a collider attached to it
  • The collider is a trigger
  • Furthermore the collider is in a special layer that only allows collisions with the player
  • The GameObject also has a script attached to it
  • This script makes use of the OnCollisionStay method to determine whether the player entered
  • If the player entered and pressed the button it does whatever you want to do…

Hope this helps. :wink:

After some research that’s my code:

Now i don’t have a code after i accept the quest, and i don’t know how to make a quest list.
Thanks

It sounds to me like you need more fundamentals. Learning how everything fits together first will help you a lot more than asking questions on the forums. My suggestion is to start with tutorials about how to build basic games. Quest systems and such are a little more advanced.