Defaults Battle turn order confusion

I have some questions about the VXA battle turn interpretations and testing, two issues to be exact.

Problem #1: No matter what is set for the enemy's learned skills, the very first turn in a battle test behaves as if a preemptive strike were enabled without prompt. If I attack/defend, the enemy troop just sits there doing nothing for their first turn. Only on the second turn do they begin following their actions. I'm not sure what is causing this. I have it set so that 4 separate skills go one after the next and cycle over, while a duplicate of one of these skills gets used over so long as enemy MP is low.

Problem #2: I might already know that the answer to this is something I might have to download, but I want to ask if I can avoid hunting down a script for a simple matter. I'm trying to set some skills that activate with more than one condition; like when MP is low, but also only when a switch is on, or when in a specific state, or just turn order with low MP. This is done to avoid having the enemy attempt and obviously fail to use spells that they cannot afford with dry MP, wasting their turn for no reason.

Anyone know whats up?
Problem #1 What's the enemy's agility stat? And what's the enemies AI page look like? Have you tried giving them an always command like a basic attack or something?

Problem #2 https://forums.rpgmakerweb.com/index.php?threads/archeias-advanced-ai-conditions.36877/
I have some questions about the VXA battle turn interpretations and testing, two issues to be exact.

Problem #1: No matter what is set for the enemy's learned skills, the very first turn in a battle test behaves as if a preemptive strike were enabled without prompt. If I attack/defend, the enemy troop just sits there doing nothing for their first turn. Only on the second turn do they begin following their actions. I'm not sure what is causing this. I have it set so that 4 separate skills go one after the next and cycle over, while a duplicate of one of these skills gets used over so long as enemy MP is low.

Problem #2: I might already know that the answer to this is something I might have to download, but I want to ask if I can avoid hunting down a script for a simple matter. I'm trying to set some skills that activate with more than one condition; like when MP is low, but also only when a switch is on, or when in a specific state, or just turn order with low MP. This is done to avoid having the enemy attempt and obviously fail to use spells that they cannot afford with dry MP, wasting their turn for no reason.

Anyone know whats up?

#1 is probably because you don't have any attacks that are tagged as "turn 1" specifically. That or you might not have any "always" commands.

Gzoop6p.png


See how Multi-Reflect is listed twice with two different conditions? The "first turn" version having higher priority than the other attacks guarantees that this enemy will always use that attack first turn.

#2: ... What @Oddball said.
Problem #1 What's the enemy's agility stat? And what's the enemies AI page look like? Have you tried giving them an always command like a basic attack or something?

Problem #2 https://forums.rpgmakerweb.com/index.php?threads/archeias-advanced-ai-conditions.36877/
The enemy AI page is the default of Ace engine, currently without any scripts to change it. I will try this script you pointed me to for Problem #2, and thank you for showing me where to go.
As for Prl #1, the enemy AGI is much much higher than the actor in battle tests, as the level-1 default for the actor AGI even with starting equipment is 1, where enemies have somewhere between 30-90. I've also tried to set the skill use to go on turn #0, but that only makes things worse. I'm hoping this script might eventually help me figure it out.
If normal attack is used and set to always, the issue does not occurr.
#1 is probably because you don't have any attacks that are tagged as "turn 1" specifically. That or you might not have any "always" commands.

Gzoop6p.png


See how Multi-Reflect is listed twice with two different conditions? The "first turn" version having higher priority than the other attacks guarantees that this enemy will always use that attack first turn.

#2: ... What @Oddball said.
I'm specifically trying to use Turn numbers over any other priority. I have skills set to Turn No. 1+4*X, next skill Turn No.2+4*X, and so on. The turns and skills cycle correctly, but nothing triggers on the very first turn. I'm avoiding the "Always" command because I want the enemies not to randomly select which skills they use, as certain attacks are designed to be used in succession, so it is important. I have tried to use just Turn No.1 condition by itself, and no change. I will try some more testing later on Saturday and see if there is more I can learn. I'm thinking that maybe the "battle test" functions a bit differently than in-game test battle initiations.
If normal attack is used and set to always, the issue does not occurr.
You can also set skills to always. If you pick a few and set the priority to 1 with the condition always, it should fix it. Cause from this sentence alone, it looks like this is the root of the problem

Edit: just make sure the rest has a priority of 4 or higher so that the always skills with a priority of 1 don't occur after turn 1
I have skills set to Turn No. 1+4*X, next skill Turn No.2+4*X, and so on.
That should be your problem. Turns actually start at 0. Make a duplicate of each skill and set them to turn 0, then it will randomly pick a skill at turn 0 and carry forward from there
You can also set skills to always. If you pick a few and set the priority to 1 with the condition always, it should fix it. Cause from this sentence alone, it looks like this is the root of the problem

Edit: just make sure the rest has a priority of 4 or higher so that the always skills with a priority of 1 don't occur after turn 1
I'm kind of confused, mostly about the priority setting. I admit I still have no idea after some searching what this value actually does. I thought that it sets the probability that a skill is used compared to another when both are set to always. It is actually important that all of the skills cycle in the order they are set up in after x amount of turns, depending on thier maximum amount of skills, then with some exceptions that run under special condtions.

Forgive me, I'm certain I'm misunderstanding something that I should know by now. I just want to iterate that the enemy using any one of their known skills randomly is what I'm trying to avoid the most.

At the same time, lots of this will have to do with my further education in scripting, and installing the script sets mentioned above. But with regards to why the enemy skips their first turn, that is something I just don't understand why.
That should be your problem. Turns actually start at 0. Make a duplicate of each skill and set them to turn 0, then it will randomly pick a skill at turn 0 and carry forward from there
I will try again then. I know I already tested setting exactly 1 skill, the first skill to zero to see if that was the issue. The other skills were then 1+4*x, and up. Again, only one instead of all of them at turn 0 since I don't want random skill selection. However, my first test of that yeilded the same result. Maybe I messed it up somehow.
I'm kind of confused, mostly about the priority setting. I admit I still have no idea after some searching what this value actually does. I thought that it sets the probability that a skill is used compared to another when both are set to always. It is actually important that all of the skills cycle in the order they are set up in after x amount of turns, depending on thier maximum amount of skills, then with some exceptions that run under special condtions.

Forgive me, I'm certain I'm misunderstanding something that I should know by now. I just want to iterate that the enemy using any one of their known skills randomly is what I'm trying to avoid the most.

At the same time, lots of this will have to do with my further education in scripting, and installing the script sets mentioned above. But with regards to why the enemy skips their first turn, that is something I just don't understand why.
The number under "R"
That should be your problem. Turns actually start at 0. Make a duplicate of each skill and set them to turn 0, then it will randomly pick a skill at turn 0 and carry forward from there
An update from before for turn orders. Using the use on turn condition, nothing I did seemed to help this issue. I set the turn to zero for skill 1, turn 1 for skill 2, etc. The result was that the first turn was still skipped, and then the first skill that should have been used was indefinatnely skipped as well. Only skill #2 and up were used. I also tried this in actual game play instead of testing from the database troop tap to see if the problem was something else, but no luck.

I don't get why the enemy loses an entire turn when a skill is not set to always or when the repeat condition is true.

{Update-2}: Temporary fix: It seems if I set a skill at turn 0 WITHOUT a 'repeat after x turns' condition, then the enemy finally takes their first turn. Using a single dupilicate would therefore force the use of that skill on the first turn. Not a problem, though kind of annoying the way that is set up.

Point is, you are right, turns start at 0.

Original thread: https://forums.rpgmakerweb.com/threads/defaults-battle-turn-order-confusion.146537/