Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to Make a quest based system?

I'm trying to add a quest thing where I can make so you earn exp and items upon completion. I don't even know what to try yet.

1 comment

0

Start with the basics. This is a help site, not a request site.

1 answer

You have to take your idea and break it down into smaller steps. ex:

  • Give players experience, inventory, and quest(s) variables when they enter the game
  • When they approach an NPC, start a conversation that can lead to accepting a quest
  • If they accept the quest, add it to their list of accepted quests and have a script monitor the player's progress
  • When the player finishes the quest, reward them whatever the quest is supposed to reward them

To do all this, you'll need to know about events, tables, and writing your own functions. It may also be beneficial to know about writing your own classes (so that you can represent a Quest in your code); you can see two different styles being compared here

This discussion is preserved as it was. New answers, comments, and votes are closed.