Enemy AI – Checks & Tables

What does it do?
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.

Warning: This may be a tiny little bitty bitsy complex to set up

Author: Mr. Trivel
Name: Enemy AI – Checks & Tables
Created: 2014-11-09
Version: 1.1

Terms of Use

Instructions:
Read carefully and set up everything.

<Get Code Here: Link>


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: