Just started using sandbox and I'm intending to use it at the college I teach at for my next unit - Computer Games Development. In order to teach effectively I need to know more than the students and be able to help them get the most out of sandbox and actually build the games they design.
I'm ok with making maps and I'm currently building a spaceship map. I've figured out how to open doors thanks to a post on here. But I am completely at a loss when it comes to creating / spawning NPCs that I can interact with. Someone has posted some code here for making a guard you can talk to but I don't even know where it goes!

So, are there any books or publications I can get at to help me with this - and I guess all the other hundreds of questions I'm going to get asked....?
If anyone wants to post some help as well it will gratefully recieved

Thanks
Malk