I'm still very new to scripting, I would want to learn how to make AIs that you can click to move around and if they move into a certain range of each other they are able to shoot each other. Similar to games of the Men of War or Total War series.

1 comment

0

Bit difficult for a beginner. You could use roblox's pathfinding API ( https://developer.roblox.com/en-us/articles/Pathfinding ) and check the NPC's magnitude https://developer.roblox.com/en-us/articles/Magnitude from each other, but this requires a lot of checks and would be a bit inefficient. If you want to give it a try, go for it, follow the tutorials but it's a bit tricky.