Jump to content

Papyrus Fragment help with Companions


Visi0n

Recommended Posts

So I am following this youtube video to make a basic companion to start with (https://youtu.be/xKViKsNcXVY?list=PLElczpoUwHC4jZXDF_3mp_iXgALiLHw-k should start at roughly 25:00) and everything is going well except for the last part with the papyrus fragment some errors come up. The first one if for the "FollowersScript.GetScript().SetCompanion(Asher.GetActorRefrence())" (here is the error)

Papyrus Compiler Version 2.8.0.4 for Fallout 4
Copyright © ZeniMax Media. All rights reserved.
Starting 1 compile threads for 1 files...
Compiling "Fragments:Quests:QF_COMAsher_01005433"...
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(7,41): variable Asher is undefined
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(7,47): none is not a known user-defined script type
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(7,47): type mismatch on parameter 1 - cannot pass a void to a actor
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,45): variable Asher is undefined
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,51): none is not a known user-defined script type
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,51): type mismatch on parameter 1 - cannot pass a void to a actor
No output generated for Fragments:Quests:QF_COMAsher_01005433, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on Fragments:Quests:QF_COMAsher_01005433
And then I also get a error for "FollowersScript.GetScript().DismissCompanion(Asher.GetActorRefrence())" (here is the error)
Papyrus Compiler Version 2.8.0.4 for Fallout 4
Copyright © ZeniMax Media. All rights reserved.
Starting 1 compile threads for 1 files...
Compiling "Fragments:Quests:QF_COMAsher_01005433"...
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(7,41): variable Asher is undefined
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(7,47): none is not a known user-defined script type
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(7,47): type mismatch on parameter 1 - cannot pass a void to a actor
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,45): variable Asher is undefined
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,51): none is not a known user-defined script type
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,51): type mismatch on parameter 1 - cannot pass a void to a actor
No output generated for Fragments:Quests:QF_COMAsher_01005433, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on Fragments:Quests:QF_COMAsher_01005433
Same error for both lines of code but I have no clue how to fix it. Any ideas? Kind of new with the G.E.C.K so any help is appreciated :smile:
Link to comment
Share on other sites

The entire script? Do you mean the esp then? If not I don't know where I would find what script you are looking for then

 

Edit: Changed the GetActorReference() and still got the same error :/

Edited by Visi0n
Link to comment
Share on other sites

No I meant the fragment but I didn't see the Script lines where in between the compiler errors. But try changing the GetActorReference() and see if it compiles then. Otherwise make sure you're quest alias for Asher is named correctly ( the same as the Asher in the script).

 

Edit: You did make a ReferenceAlias Property for Asher Right? If not make it. If you did make sure the name matches what you use in the script.

Link to comment
Share on other sites

Ok so I edited my properties and made sure that the Quest Alias was called Asher and went through the properties and fixed it but now I am getting a different error

Papyrus Compiler Version 2.8.0.4 for Fallout 4
Copyright © ZeniMax Media. All rights reserved.
Starting 1 compile threads for 1 files...
Compiling "Fragments:Quests:QF_COMAsher_01005433"...
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(26,24): script property Asher already defined
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(26,24): script variable ::Asher_var already defined
C:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(26,24): script property Asher already has a get function defined
No output generated for Fragments:Quests:QF_COMAsher_01005433, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on Fragments:Quests:QF_COMAsher_01005433
So now Asher seems to be defined?
Link to comment
Share on other sites

  • Recently Browsing   0 members

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