[VX ACE] Enemies taking current conditions into consideration before choosing skill to use

Szibes

Villager
Member
Joined
Mar 5, 2021
Messages
7
Reaction score
0
First Language
Polish
Primarily Uses
RMVXA
From what I have seen, enemies chose their skill to perform on the beginning of their turn.
This results in some awkward situations in my project, examples:

1. Actor applied a state on enemy which seals a skill. This enemy will still try to perform that skill, without any effects or animation (but apparently things in notes are still executed, such as Moghunter's battle motions) instead of picking another available skill.
2. Enemy has a state that forces them to use a skill, but they won't do it until next turn.
3. Foe has a state which allows them to use particular skills. Player uses a skill that removes that state to prevent them from doing that, but enemy still uses that skill in current turn.

How do I change that, so enemies will take into account their current conditions (you know, states) before choosing which skill they use?
 

Szibes

Villager
Member
Joined
Mar 5, 2021
Messages
7
Reaction score
0
First Language
Polish
Primarily Uses
RMVXA

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,499
Reaction score
2,615
First Language
English
Primarily Uses
RMMZ
You'd basically have to recode the order in which things are processed during a turn. That isn't a straightforward task.
 

Szibes

Villager
Member
Joined
Mar 5, 2021
Messages
7
Reaction score
0
First Language
Polish
Primarily Uses
RMVXA
Oh. Ok.
Guess that means that every single enemy will now have a common event.
I think that actually solves a few different things, so thanks anyway.
 

Latest Threads

Latest Posts

Latest Profile Posts

Playing my game to improve my game. (Totally not procrastinating)
Hope he recovers fast :|
Looks like it's functional:
It's a common thing to forget eating &drinking while you are working concentrated, right?
If I had discovered RPG-Maker before moving together with my girlfriend, I'd have died of dehydration a long time ago.
Ami
trying to change my picture & got screwed up...

Forum statistics

Threads
112,497
Messages
1,068,690
Members
146,167
Latest member
ryweuu
Top