How do I make a kill quest? And how do I make sure that the kill quest calculates how many enemies I kill?

I am trying to make a kill quest where the player has to kill 10 Orcs in the city. However, when I go and kill all the Orcs that appear in a battle, it doesn't count those dead Orcs. It is the same for all of the enemy NPCs that appear on this map. Did I do something wrong?
1706123609630.png

1706123778476.png
I have moved this thread from RPG Maker VXAce Tutorials to RPG Maker VXAce Support.
I am trying to make a kill quest where the player has to kill 10 Orcs in the city. However, when I go and kill all the Orcs that appear in a battle, it doesn't count those dead Orcs. It is the same for all of the enemy NPCs that appear on this map. Did I do something wrong?
View attachment 292943
View attachment 292944
You need to turn the page off somehow after the fight or you'll be able to fight the same event over and over again to get the variable value to 10. You also don't need to do "+0" in the lose branch; that's the same thing as having nothing at all.
it doesn't count those dead Orcs.
1706124957045.png

1706124972699.png


You're fighting three orcs but only adding one to your variable.

Is that what you mean when you say it's not counting them? It seems like you should be adding three.
I fixed that, and I still have the issue sadly.
View attachment 292945
View attachment 292946

You're fighting three orcs but only adding one to your variable.

Is that what you mean when you say it's not counting them? It seems like you should be adding three.
You need to turn the page off somehow after the fight or you'll be able to fight the same event over and over again to get the variable value to 10. You also don't need to do "+0" in the lose branch; that's the same thing as having nothing at all.
How would I go about doing this?
it doesn't count those dead Orcs
during or after the battle?
two different considerations, and two ways to go at it.

also, define "dead" and "killing"
what constitutes a killing? because from there, is how you determine the counter, and from there, the completion event.
It doesn't count the dead Orcs after the battle. Concerning the mission, the player is supposed to kill 10 Orcs to protect a town.
during or after the battle?
two different considerations, and two ways to go at it.

also, define "dead" and "killing"
what constitutes a killing? because from there, is how you determine the counter, and from there, the completion event.
This is what I get after killing the first Orc squad
1706130058325.png
It doesn't count the dead Orcs after the battle. Concerning the mission, the player is supposed to kill 10 Orcs to protect a town.

This is what I get after killing the first Orc squad
View attachment 292954
The issue is that you're increasing variable 4 for orcs killed, but you're displaying the value of variable 1.
1) if you want to add the number of dead orcs, that would be +3 and not the +1 you put in the event above.

2) then there is another mistake in the event that you use for the show text, pßlease give a screenshot of that as well
I already chenged thenumber od dead Orcs from +1 to +3, so I am not sure where the error is taking place.
1) if you want to add the number of dead orcs, that would be +3 and not the +1 you put in the event above.

2) then there is another mistake in the event that you use for the show text, pßlease give a screenshot of that as well
1706131588714.png
index.php

1706131835113.png

1706131923486.png

1706131970731.png
Do a battle then after the battle, while on the map press F9.
Go to the variables 1-10 and look at the values. Variable 4 is changed but variable 1 is not.
As mentioned, you are calling variable 1 in the event text box, but adding kill count into variable 4.
I am a little confused by what you mean concerning the last portion of your comment; can you please explain what you mean?
Do a battle then after the battle, while on the map press F9.
Go to the variables 1-10 and look at the values. Variable 4 is changed but variable 1 is not.
As mentioned, you are calling variable 1 in the event text box, but adding kill count into variable 4.
...come on, dude.

1706152528407.png

You're adding to variable 4.

1706152551141.png

You're displaying variable 1.

🙄
I'm new at this, okay? 🙁
...come on, dude.

View attachment 292978
You're adding to variable 4.

View attachment 292979
You're displaying variable 1.

🙄
It helps to give everything a second look over before asking about it.

I make plenty of dumb, simple mistakes, and that's okay. And if I get really stuck, then I ask.
I'm new at this, okay? 🙁
No one's criticizing you for being new, but when you are told by two people exactly what the problem is and your response is you don't understand...it comes across as you're not trying to read and understand.

Own up to that (e.g. "Oh, d'uh, that was silly of me to not recognize you said the specific commands I needed to look at!") instead of playing the pity card.
No one's criticizing you for being new, but when you are told by two people exactly what the problem is and your response is you don't understand...it comes across as you're not trying to read and understand.

Own up to that (e.g. "Oh, d'uh, that was silly of me to not recognize you said the specific commands I needed to look at!") instead of playing the pity card.
That's the thing though; I legitimately do not understand what I am doing wrong. I'm not looking for sympathy or pity...
That's the thing though; I legitimately do not understand what I am doing wrong. I'm not looking for sympathy or pity...
OK, then perhaps in other words:

You want to write a letter to a friend on main street 4.
But the letter doesn't arrive

And then someone tells you "You gave the wrong adress - your friend lives on "Mainstreet 4", but you wrote down "Mainstreet 1" on your letter. The 1 is the wrong adress, you should have given the adress 4.

In your show text, you wrote \V[1] - display the number in variable 1
But in your control variable you stored your result in number 4, not in number 1
I don't know how else to say it. I even showed you the two lines in your event and explained each one.

You are adding your "Orcs killed" to variable ID 4.

When you show the text that says "I killed this many orcs," you're printing the value of variable ID 1.

Do you not understand that 4 and 1 are two different numbers? Two different variables?

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-a-kill-quest-and-how-do-i-make-sure-that-the-kill-quest-calculates-how-many-enemies-i-kill.165105/