How to make AI hostile

So I made this AI entity that has a gun and It won’t shoot at people. How do I make him kill people

1 Like

If you don’t have a hostile player type already, make a player type in World > Player Types which will be for hostile AIs. Then in ‘initialize’ script, assign the hostile ai player to the hostile player type, like this:
image

1 Like