Basic Light Script Not Working?

Post » Sat Nov 17, 2012 9:01 am

I was wanting to add some day/night lighting to my mod and was just using the script available at the Creation Kit Wiki.
http://www.creationkit.com/Light_Switch

I'm just using the CK put the script in the game. The only things that I change about the script are the name and the time that the lights go on. When I click OK, I get the message "Invalid doc string. Doc string may not contain { or } characters" I've tried taking those characters out of the script and when I click OK, the CK crashes. What am I missing? It's got to be something simple. I've used the other script on that very page which contains lines with the same characters and it saved and worked with no issues at all.
User avatar
Reven Lord
 
Posts: 3452
Joined: Mon May 21, 2007 9:56 pm

Post » Sat Nov 17, 2012 9:31 am

I think you may be trying to put code in the wrong place? When you add a script you first get a window with a box for the name and below it a box for the documentation string - you can't put code there.
User avatar
Roanne Bardsley
 
Posts: 3414
Joined: Wed Nov 08, 2006 9:57 am

Post » Sat Nov 17, 2012 1:48 pm

Aw, okay. I see what you're saying. So where do I copy and paste the code in at?

Edited to say: Hold my horses, I think I might have found my answer on the Creation Kit Wiki. Thank you, Ingenue, for getting me on the right path here! :D
User avatar
zoe
 
Posts: 3298
Joined: Sun Nov 12, 2006 1:09 pm


Return to V - Skyrim