What does "X" mean in the Battle Event editor's "Turn" condition?

When creating a new event sheet in the Battle Event editor, you can set "Turn" as the condition for when the event should be triggered along with a formula to determine the turn value.

The formula looks as such:

A+B*X.

I get to input A and B via the GUI, but X is static.

My question is: what does X represent?

The explanation tooltip reads:

"Starts when the specified turn has been surpassed. Specifies the turn count with A + B * X. If A = 1 and B = 3, the condition will be met at turn 1, 4, 7, and so on. Turn 0 means that the event starts before command entry."

But it doesn't actually explain what X is.

Is X a turn counter?
X is not a turn counter. It's a number that starts by 0 and increases by 1 everytime the condition is fulfilled.
For example you set the equation to the mentioned 1+3xx
First it fires in turn 1+3x0, so 1
Then in turn 1+3x1, so 4
Then in turn 1+3x2, so 7
Then in turn 1+3x3, so 10
and so on.
X is not a turn counter. It's a number that starts by 0 and increases by 1 everytime the condition is fulfilled.
I don't understand. How can a condition be that a number equals a value that increases when the "condition is fulfilled"? What condition does "condition is fulfilled" refer to?
As already explained X is an iterator. Iterator is a variable that has a starting value and iterates by a constant value.
Here it starts with 0 and iterates with value +1.

Each turn it gives a "+1" to X

Edit:
A condition can trigger on specific turns. Not every turn.
No matter what turn it triggers, X is equal to the turn we are. Just keep that in mind.
That's what it means.

I made a whole tutorial game helping people understand some stuff.
If it helps well, hooray.

https://forums.rpgmakerweb.com/inde...v-full-tutorial-game-for-rpg-maker-mv.101319/
A+B*X means that it will trigger on turns
A+B*0
A+B*1
A+B*2
A+B*3

and so on
As already explained X is an iterator. Iterator is a variable that has a starting value and iterates by a constant value.
Here it starts with 0 and iterates with value +1.

Each turn it gives a "+1" to X

A+B*X means that it will trigger on turns
A+B*0
A+B*1
A+B*2
A+B*3

and so on

So then it actually is just a turn counter?
No, it's not a turn counter, because it doesn't count turns. Do you understand linear algebra and functions?
So then it actually is just a turn counter?
It doesn't count up every turn, if that's what you're asking.
It doesn't count up every turn, if that's what you're asking.

No, it's not a turn counter, because it doesn't count turns. Do you understand linear algebra and functions?

Dreadshadow just said:

Each turn it gives a "+1" to X

If X is an iterator that increases by 1 each turn then it's a turn counter.
If the condition applies EVERY turn, it is a turn counter. But ONLY then.
My bad, thought you had it running on a turn condition.

Edit:
It iterates (gives +1) each time the condition is true. (applies)

For example, if the condition is
Every 5 turns trigger the event
you get a +1 every 5 turns.
If the condition applies EVERY turn, it is a turn counter. But ONLY then.
My bad, thought you had it running on a turn condition.

But the condition is the value that is being counted, so how can the counting be dependent on the condition? That's circular logic.
"When creating a new event sheet in the Battle Event editor, you can set "Turn" as the condition for when the event should be triggered along with a formula to determine the turn value."

Edited:

If you don't set TURN it won't be set to trigger every turn.
If you got it TURN it triggers every turn and may check if other things apply to run.
What you do you mean?

I strongly recommend you to try this:
https://forums.rpgmakerweb.com/inde...v-full-tutorial-game-for-rpg-maker-mv.101319/
"When creating a new event sheet in the Battle Event editor, you can set "Turn" as the condition for when the event should be triggered along with a formula to determine the turn value."

Ok, I understand now. I thought that "condition" referred to the binary case of a "turn" being true since you check it as a condition to be evaluated against, not whether the event has fired.

Thanks for explaining.

Original thread: https://forums.rpgmakerweb.com/threads/what-does-x-mean-in-the-battle-event-editors-turn-condition.107293/