Post by Slimey on Jul 17, 2014 18:35:08 GMT
Kill X Amount of Monsters Quest
NOTE: I do not know much about the standard battle system since I never use it. There might be a better way to go about this. If anyone wants to add a better solution to this tutorial, please feel free to. I will link it at the top of this tutorial so people can get to it easily.
The very first thing you want to do is set up your map. For this tutorial, it will just be the front view battle system, so make a small area and select your slime encounters.
i.imgur.com/qoA9Kug.jpg
The next thing you need to do is create your NPC for the quest. For my quest, I am going to have the NPC ask me to catch ten slime (which seems a bit barbaric considering that I am a slime, but oh well. )
I will then put that to self switch A.
i.imgur.com/1y1JwqJ.jpg
On the next event page, make sure that you have the self switch A condition set. Now, create a variable called Monster or Slime death. Then, create a conditional branch to where if it is greater or equal to ten.
Inside that, add the message to say that this quest has been completed. Then, make a self switch B = on at the end.
In the else statement, I am going to say something along the lines of "You have only caught x slime." To do this and have it show how many slime you've caught, you need to have it set like this in the text box:
You've only caught \v[18] slime.
What this does is it generates what variable number it is for that specific variable. Since my slime death variable is on variable 18, I typed \v[18] in the text box to call the variable.
i.imgur.com/gJnS1Or.jpg
On the next event page, you are just going to have what it says after you've completed your quest.
i.imgur.com/OSPERQg.jpg
Now we are done with that event!
Next, go into your database and go into the troops tab.
Where it says battle event, you will set the condition to 1. Slime's HP is 1% or below.
Inside that, you will put Slime Death + 1.
Make a new event page and set the condition to 1. Slime's HP is 1% or below and inside of it, put Slime Death + 1.
Do this for each enemy in the troop.
i.imgur.com/iIQIUEe.jpg
i.imgur.com/kqFYzjh.jpg
And that is how you make a kill x amount of monsters side quest without scripts!
i.imgur.com/SJtpO1j.jpg