Jump to content

OnDeath Script Issue


MackenzieBeyer

Recommended Posts

So I'm trying to create an OnDeath script on a quest stage instead of on an actor. I gave the quest a property and the actor a property but it still won't compile. Any ideas?

 

Here's the code:

Event OnDeath (ActorAnnaBad  akKiller)
  FBE.SetObjectiveDisplayed(200)
  FBE.SetStage(200) 
EndEvent

Here's the error:

Starting 1 compile threads for 1 files...
Compiling "Fragments:Quests:QF__0101A44C"...
C:\Users\mcb59\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF__0101A44C.psc(283,0): mismatched input 'Event' expecting ENDFUNCTION
No output generated for Fragments:Quests:QF__0101A44C, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on Fragments:Quests:QF__0101A44C

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...