Spawning an NPC and making it walk somewhere predefined

Can anyone give me a small script to do this?

This can be done rather easily with wiremod’s e2 as seen here

I want hard coding, not an addon.

[h2]Next time:[/h2]

or; (I put the links below the pictures, as Facepunch can mess up and instead redirect you to the image’s path, instead of the url set.)

Next time:

Read the thread before replying to it.

Try **[NPC.NavSetGoal](** or **[NPC.NavSetGoalTarget](**
Never tested it, but from what I understand it sends the npc to a nav point at the vector or entity. If not, look at how NPC control did it.