Jump to content
  • 0

How to choose a random quest from a set of quests? I.e. slayer tasks, and have multiple


gooby

Question

Hello, Im wondering how to do this.

 

I was thinking of playing around with player variables and have the quest npc set a random variable between 1-10 (example number of quests) and have that start the quest with said variable. But this way Id only be able to have 1 task at a time from a given quest npc, and Id like to make it like 5 or more if possible. This would also mean Id have to make a separate quest for each task instead of randomly choosing a task in one quest's set of tasks.

 

Is there an easier way to do this and have multiple tasks? Thanks!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • -1
8 hours ago, Taliel Studios said:

Make a variable that changes between 1 and 10 every few seconds then make an event that start a different quest for each number of that variable.

 

There is no point in this - just more server hassle.

 

You could set it as "event driven" rather than "kill NPC's" and use the feature of setting variables in the event that runs when the NPC is killed. Then explain what the quest task is outside of the quest.

Link to comment
Share on other sites

  • -3

Make a variable that changes between 1 and 10 every few seconds then make an event that start a different quest for each number of that variable.

 

Edit: You also don't need the changing variable as it can be hard on the server. There are other ways to do this. In example an event that chooses a random number when ran. Certain number starts certain quest...

Link to comment
Share on other sites

×
×
  • Create New...