NPC companions could earn alignment points towards good or evil, just like the PC itself. They're behavior would also change depending on the alignment. For example when i would suggest a evil act. If someone agrees, he gains dark side points and if someone protests, he would get light side points. Well you get the point...