I want to make a shooting NPC that shoots missiles for a boss battle. Can anyone help?
COMMUNITY QUESTION
How do you make a pathfinding & shooting npc?
1 answer
You're going to want to look into A* pathfinding and raycasting for the shooting. You're not very likely to find someone on here who is going to help you by giving you a read script though.
Considering the nature of the question I am assuming you are not a very experienced scripter yet. If you are, my bad, however I would suggest you would start with some more simple tasks. For example leave the pathfinding out for now and make it move in random directions.
There's a tutorial on the wiki about raycasting.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I am a expert scripter I just don't know that much about NPC'S
That comment was completely unneeded. An expert scripter could easily use Google to find out on how to make guns and how to make pathfinding. A mediocre scripter however would need the help of a tutor. If you can use Google, please refrain from using this site.