Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make a pathfinding & shooting npc?

Asked by 10 years ago

I want to make a shooting NPC that shoots missiles for a boss battle. Can anyone help?

1 answer

Log in to vote
0
Answered by 10 years ago

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.

0
I am a expert scripter I just don't know that much about NPC'S cristinonscript 5 — 10y
0
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. juzzbyXfalcon 155 — 10y
Ad

Answer this question