Enemies(Newbie)
Moderator: Moderators
-
Guest
Enemies(Newbie)
when i open the map that comes with MOHAATools(firefight) the people are fighting and everyones happy. but when i copy one of them to my map all they do is stare forward. when i made my own by rightclicking and selecting ai>german>soldier they actually looked at me and when i got close to them they hit me with their gun. but they didnt shoot at me and there was no animation when they hit me with their gun. How do i make a working enemy?
You don't need that global/ai.scr line, it's only used by enemy spawners that are activated by triggers. You'll notice test_firefight doesn't even have a script.
You're right about that 'test_' thing, although there is a better way to get it working. That's described in this tutorial. It's much more complicated however.
You're right about that 'test_' thing, although there is a better way to get it working. That's described in this tutorial. It's much more complicated however.
