my code is
Event OnDeath(Actor killer)
HammeroftheGods.SetObjectiveDisplayed(20)
HammeroftheGods.SetStage(20)
EndEvent
When i save im given an error compelation failed and when i compil i get this
Starting 1 compile threads for 1 files...
Compiling "HammeroftheGods"...
c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\HammeroftheGods.psc(1,0): mismatched input 'Event' expecting SCRIPTNAME
c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\HammeroftheGods.psc(0,0): error while attempting to read script HammeroftheGods: Object reference not set to an instance of an object.
No output generated for HammeroftheGods, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on HammeroftheGods
can someone tell me what im doing wrong