jcro25 Posted February 17, 2012 Share Posted February 17, 2012 I have been working on a mod for the past year and been trying to work out how to make a script that can enable a NPC or item a few days after a quest or when an NPC has been killed. Ideally I would like the script to enable the NPCs about 3 days later if thats possible? I have tried doing the following but none have worked :/ scn NPCEnablerScript Begin OnReset (Load, GameMode) if GameDaysPassed >= 2 NPC1REF.Enable END as you can probably tell I am a complete amateur when it come to scripting :wacko: any help on this would be appreciated :thumbsup: Thanks in advance,Jcro25 :nuke: Link to comment Share on other sites More sharing options...
ScarabMonkey Posted February 17, 2012 Share Posted February 17, 2012 That's oblivion script language, I'm afraid Skyrim uses a new language called Papyrus... Link to comment Share on other sites More sharing options...
David Brasher Posted February 17, 2012 Share Posted February 17, 2012 When you write scripts you should actually write them in the CK. It will warn you the instant you try to compile a script with something that is not allowed. If you need to pause in your work and turn off the computer, you can comment out all the broken lines that the CK is giving you error messages about. (Actually this might be unnecessary. Oblivion would not allow you to save an obviously bad script, but I think that Skyrim might let you save if you click a certain box in the error message dialog.) Commenting out lines is the same as in Oblivion. You use the semicolon: ; For D = 1 To 500 ; Next D Link to comment Share on other sites More sharing options...
Recommended Posts