[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,352
Reaction score
2,476
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

So yesterday Dad took me to Volcano Bay, and it was almost ruined by a thunderstorm... then it passed by and the lightning warning got lifted, leading to an awesome time sliding and swimming. Hopefully we get to go to the arcade tonight. The one we're planning on has a restaurant built in with AWESOME food. Not to mention how big the arcade itself is!
image_2021-06-13_150033.png

Maybe I'll actually try making a retro pack. Already have the shark fin made so why not xD
Hey everyone, for everybody following along with my RPG Maker MZ streams: There will unfortunately not be a stream tonight. There is a big exciting event that will go live next week that has been taking all my time, so look forward to that!
Took a small break by playing VR. Latest update of these glasses unfortunately caused a little of trouble but it can be fixed with a manual operation.

Until You Fall is freaking awesome.
I am SO HYPED to share this trailer with everyone when its done. I almost want to tear up i had no idea how far i came along with Fallen Feather in these last 3 years.

Forum statistics

Threads
112,193
Messages
1,066,498
Members
145,802
Latest member
Corim
Top