Originally posted by kerry
...Edwin asked me to kill a cowled wizard, but, being a very good Paladin, I refused. Edwin turned against me and attacked, along with some shadow thieves, who I killed. Edwin never showed up again though and I couldn't progress the storyline.
I've got shadowkeeper and the Debug Mode enabled, and have tried creating a new Edwin so as to get on with the story. I managed to make him show up and give me the mission again, but when I did it and returned to him, once again he and the shadow thieves in his room all attacked me and Edwin disappeared again.
Is this a known problem or have I screwed something up...?
I just used Infinity Explorer to look at the scripts. (Specifically, the dialogue and AI scripts named "Edwin".) When you refused to kill the Cowled Wizard, the game automatically set the global variable called "EdwinTold" to 1. If I'm reading the scripts correctly, that causes Edwin to turn hostile and five assassins to appear. As a Microsoft programmer might say, "It's not a bug; it's a
feature."

Like it or not, the game is doing exactly what it's supposed to do.
I suggest that you try the following console commands (the second and third commands might not be necessary, but you can set them for good measure before you spawn Edwin again):
CLUAConsole:SetGlobal("EdwinTold","GLOBAL",0) <<<< CORRECTION
CLUAConsole:SetGlobal("EdwinJob","GLOBAL",1)
CLUAConsole:SetGlobal("MaeVarWork","GLOBAL",4)
CLUAConsole:CreateCreature("EDWIN7")
Instead of "EDWIN7" (Edwin at 7th Level), you can substitute EDWIN9, EDWIN11, EDWIN12, or EDWIN13.
Good luck!