Ok my project is turning out harder than i thought... Id really appreciate some help...
Basically, Im programmimg AI for enemies... basically, the game is isometric so everyone can move in 8 directions and Im trying to get it so an enemie can walk up to my player, stop, and beatup my character. However, I need him to stop away from my character, because right now I have him stopping when he collides but they get stuck to each other. I also want him to continue to chase my player if he runs away, and to stop so they can engage in fisticuffs.
I keep having issues becuase I cant seem to find what Im looking for in the event editor. Id REALLY apprciate some help.
Hmm... I've been trying to make iso games for awhile. I'll see what I can do!
_________________________
"To finish, one must first start, to start, you must visualize, to visualize, you must imagine, to imagine, you must... Aw, what the heck!!
Can you upload the mfa file of what you've done so far??
_________________________
"To finish, one must first start, to start, you must visualize, to visualize, you must imagine, to imagine, you must... Aw, what the heck!!
Have u used the snippet manager found in the mmf2 file archive? that can calculate the distance between two obejcts without really knowing how it works. Also you could place detectors or a box around ur character and if the enemy collides with the box, change wat it does.
A good example of how to understand this is the game Super Smash Bros. or any fighting game where the AI doesnt do the same repetitve thing over and over.
If the ABS of enemy-player >=1000 then shoot a projectile. ABS of enemy-player is between 10-999, then walk toward player. ABS of enemy-player <=10, then do an attack.
_________________________
Angelfox can own firefox
Chuch Norris Owns!
Need Rpg help? Private Message me for help. Just dont ask me to do graphics and i can help you with just about anything RPG related...