I want to spawn an enemy at a point in the beginning of the game and I have seen many tutorials on this and have followed their instructions but the npc's/enemies are not attacking! Here is what I'm doing tell me what I'm doing wrong if you may:
1. create a pathnode on map.
2. go into kimset and create a level startup event.
3.Then make an actor factory action, the controller class is a UTbot with a linkgun, I force deathmatch ai and give him default inventory, his pawn class is UTpawn, his Pawn name is enemy, and his team index is 10. I keep everything else the same.
4.I then use the pathnode that I put on the map.
5. After that i link the level startup with the spawn actor and the pathnode with Spawn point.
6. After that I rebuild AI paths.
then I test it and the guy spawns but does not attack the player. What am I doing wrong? Please reply if you know the solution.
1. create a pathnode on map.
2. go into kimset and create a level startup event.
3.Then make an actor factory action, the controller class is a UTbot with a linkgun, I force deathmatch ai and give him default inventory, his pawn class is UTpawn, his Pawn name is enemy, and his team index is 10. I keep everything else the same.
4.I then use the pathnode that I put on the map.
5. After that i link the level startup with the spawn actor and the pathnode with Spawn point.
6. After that I rebuild AI paths.
then I test it and the guy spawns but does not attack the player. What am I doing wrong? Please reply if you know the solution.
Comment