I know this can be done, but it surpasses my knowledge on how to do it..so, here's my problem:
I'm making a halo fan game, that takes you through the Fall of Reach. In it, you move around by putting the mouse cursor (aimer) where you want to go and pressing spacebar, click left to shoot, right to throw a grenade, etc. I can't figure out though how to do the "AI" for the bad guys, that has them shoot when you are "visible" or, how to even have them shoot at you - which is what I really want to know how to do. I've checked the manual and searched forever, but I can't seem to find anything that helps me make it so when the aliens "see" you, they shoot..and when they shoot the plasma bullet thing flies straight to where you were when they shot, whether you moved or not, and it flies straight till it hits you, something in the way, or just goes off the screen...I would greatly appreciate any input on how to do this.. Thanks in advance
Okay, first: Is it first-person?
- And if it is, how is it implemented? (eg, does a new room load when you click the space bar?)
and second: What do you mean by your character being visible? Do you mean when the characters are not facing away from each other or when and object is in the way?
It's not first person, he moves the the mouse coordinates when you press spacebar...yea, if theres nothing in the way...or..they're not facing each other..just kind of a basic AI