[help?] General information about creating bots for games and detecting specifics.
So I have experience programming, and I have made a game that sold, and mostly worked on a few smaller projects, but can anyone point me in the direction of some guides to give me concepts of how to program bots? I am unsure of how to go about making a bot, for example, how to determine an enemy not based on visuals, but perhaps the objects id?
maybe I am explaining this wrong, but I am interested in coding for a game, so that it determine how close an enemy is, and automatically attacks the exact space its standing, but I need to make sure that it's intelligent enough that I can set it to attack a specific enemy, and not just every single last thing within a radius, it would be players, and not generic mobs, so appearance would likely change per.
maybe I am explaining this wrong, but I am interested in coding for a game, so that it determine how close an enemy is, and automatically attacks the exact space its standing, but I need to make sure that it's intelligent enough that I can set it to attack a specific enemy, and not just every single last thing within a radius, it would be players, and not generic mobs, so appearance would likely change per.