I'm not sure what is wrong with my script. I suspect that the Creation Kit (lauched via Mod Organizer) cannot find the SKSE scripts, but I am not really sure.
Scriptname ZarephethsLevellingLightsInstall extends Quest {Install Script for Zarepheth's Levelling Light Spells.}Perk property LevellingLights auto{Perk to be automatically added to player when this mod is installed.}Function Init() ; Zarepheth's Levelling Lights Install Code actor player = Game.GetPlayer() player.AddPerk(LevellingLights) debug.Notification("Zarepheth's Levelling Lights Added/Updated.")EndFunction
When I attempt to compile the above script, I get the following error messages:
Starting 1 compile threads for 1 files...Compiling "ZarephethsLevellingLightsInstall"...(0,0): Unable to find flags file: TESV_Papyrus_Flags.flgD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\Quest.psc(1,0): Unknown user flag HiddenD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\Perk.psc(1,0): Unknown user flag HiddenD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\Game.psc(1,0): Unknown user flag HiddenD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\Game.psc(1,0): Unknown user flag HiddenD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\Game.psc(1,0): Unknown user flag HiddenD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\Actor.psc(1,0): Unknown user flag HiddenD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\Actor.psc(1,0): Unknown user flag HiddenD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\Actor.psc(1,0): Unknown user flag HiddenD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\ZarephethsLevellingLightsInstall.psc(11,1): variable debug is undefinedD:\Program Files (x86)\Steam\steamapps\common\Skyrim\Data\Scripts\Source\ZarephethsLevellingLightsInstall.psc(11,7): none is not a known user-defined typeNo output generated for ZarephethsLevellingLightsInstall, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on ZarephethsLevellingLightsInstall
Does anyone have any idea what I am doing wrong - with either my script, the creation kit, or mod organizer?