[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,527
Reaction score
2,638
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

Theydies and gentlethems, presenting Touch the Stars character #1: Anna Smith and her transformed form, Sagittaria!1624568259771.png
Anyone seen Dsiver around?
I wish character bust packs had options for both side-facing and front-facing for the same characters.
Looks like I'm going to have to cancel another game.
For now it is in testing phase: Changing the game icon from Rm2k/2k3 without needing to edit the executable.
Rm2k-DinChangeIcon.png

Forum statistics

Threads
112,531
Messages
1,069,005
Members
146,218
Latest member
mpseee
Top