sorry majin buu, again i hate add on's... mostly because im a retard and they never work for me. Do they work for you?
#Ian Harlow. this question is SOOO vague...
like is it a pkm example, where the enemy picks a skill based on conditions
or a rts example... if this is the case you need priority variables, (massive ball ache) if i finish my DK example, I will add a cap x to show it, otherwise i just spam a timing system, which rarely helps unless specific conditions are met
like majin's example, you could have an enemy condition where if the enemy has distance < 200 to a player projectile: perform "roll"
then you would need something to judge the enemies direction, and the angle to roll at
using the "distance" function you can say if player distance to enemy is > 200 use fire (but u need charging effects so it doesn't troll the ability)
or if your happy with the enemy just using the fire ability constantly... im guessing no, but there are great scirra games like this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">eg Bit dungeon) http://www.kongregate.com/games/KintoGames/bit-dungeon