1) How can you define scripting to create an NPC behaviour (in simple ways if possible and maybe some examples

2) How to create mission level/ state changes within an NPC????
I hope this doesnt sound like stupid questions, but much appreciated if you could reply. Thanks.