ENEMY AI - CHECKS & TABLES

RPG Maker VX Ace

Change how enemies select their attacks.

  • Glasses
  • 11/24/2014 12:01 PM
  • 4045 views
Instead of using Attack Patterns in database which don’t allow for much customization. All enemy patterns will be written in module allowing more complex and varying interactions in the battle.
How the AI works:
AI goes through every Check in order, checking conditions for it. Depending on condition results, it checks which Table to use.
If Table is a nil, it goes to the next check. Else it uses the Table that was set.
Repeat for all checks until Table is found.
After Table is found, it uses weighted randomness to determine which attack to use from that Table.