I have this simple script I am trying to compile. Most of this comes from the Creation Kit wiki. I want to start simple and just attach the script to a chest or door. All I want it to do is print a message, so I know scripts are working and the event fired.
Scriptname MyHouse extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
Debug.Trace("Activated by " + akActionRef)
EndEvent
The compiler output is below.
C:\Program Files (x86)\Notepad++>"C:\Program Files (x86)\Steam\steamapps\common\skyrim\Papyrus Compiler\PapyrusCompiler.exe"
MyHouse.psc
-i="C:\Program Files (x86)\Steam\steamapps\common\skyrimData\Scripts\Source" -o="C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts"
Starting 1 compile threads for 1 files...
Compiling "MyHouse"...
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MyHouse.psc(0,0): unable to locate script ObjectReference
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MyHouse.psc(3,33): unknown type objectreference
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MyHouse.psc(4,2): variable Debug is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\MyHouse.psc(4,8): none is not a known user-defined type
No output generated for MyHouse.psc, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on MyHouse.psc
C:\Program Files (x86)\Notepad++>pause
Press any key to continue . . .
It looks to me like the environment is not completely setup. I followed the Notepad++ setup here, http://www.creationkit.com/Notepad%2B%2B_Setup. It was somewhat helpful. It would be nice to know what goes into TESV_Papyrus_Flags.flg and where it should be located if you try compiling from the CK.
Thanks
Eli