- Joined
- Oct 25, 2019
- Messages
- 11
- Reaction score
- 0
- First Language
- Indonesian
- Primarily Uses
- RMVXA
I'm trying to make a move where the enemy will use it when it's health get low, but they'll need 5 turns before they can use it. The game will also remind the player every turn on how many turns remain before the attack will be used
However, I'm not entirely sure how to do that. So far I tried to make a battle event where if the enemy's HP has 20% health or less, it'll enter into a state and get a variable with the value of 5 (The 5 turns countdown), like so.

Then, on every turn if the enemy has the "Countdown" state, it'll reduce the variable by 1

Now, I hit a problem trying to make the game display how many turns there are left. Tried to use a chain of conditional branches like this... (Excuse my... really inefficient way of doing this)

...but the game doesn't seem to do so. The text supposedly displaying the countdown never appeared. Does this mean the variable never got subtracted?
However, I'm not entirely sure how to do that. So far I tried to make a battle event where if the enemy's HP has 20% health or less, it'll enter into a state and get a variable with the value of 5 (The 5 turns countdown), like so.

Then, on every turn if the enemy has the "Countdown" state, it'll reduce the variable by 1

Now, I hit a problem trying to make the game display how many turns there are left. Tried to use a chain of conditional branches like this... (Excuse my... really inefficient way of doing this)

...but the game doesn't seem to do so. The text supposedly displaying the countdown never appeared. Does this mean the variable never got subtracted?