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]

http://www.garrysmod.org/img/?t=dll&id=4809

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.)

http://www.garrysmod.org/img/?t=dll&id=30630

Next time:

Read the thread before replying to it.

Try **[NPC.NavSetGoal

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=NPC.NavSetGoal)** or **[NPC.NavSetGoalTarget

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=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.