Jump to content

Papyrus Script Error.


killerrj8

Recommended Posts

Starting 1 compile threads for 1 files...
Compiling "TIF__0200C3EA"...
D:\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\[/size][/color]TIF__0200C3EA.psc(14,0): missing EOF at 'Scriptname'
No output generated for TIF__0200C3EA, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__0200C3EA

 

I really don't know whats wrong. I tried to change the extends .... but its always this error , no matter what i change!

So here is my source

Scriptname TIF__0200C3EA extends TopicInfo
Book Property DeedofOwnership  Auto Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
game.getplayer().additem(DeedofOwnership, 1)
EndFunction

 

This works without errors but it also doesn't give me a book that i want , so what I did was posting this in the Papyrus fragment at the end. So the end-papyrus fragment. But there i had a compile error I tried it with only "game.getplayer().additem(DeedofOwnership, 1)" but that didn't work either. Any help ?

Link to comment
Share on other sites

It says missing event or function so try putting your function on its own line like this.

 

Scriptname TIF__0200C3EA extends TopicInfo

Book Property DeedofOwnership  Auto 

Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
game.getplayer().additem(DeedofOwnership, 1)
EndFunction

 

Im no expert but I dont think your suppose to edit fragments directly. I think your suppose to use the ck dialogues only, except properties.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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