Visi0n Posted January 16, 2017 Share Posted January 16, 2017 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 4Copyright © 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 undefinedC:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(7,47): none is not a known user-defined script typeC:\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 actorC:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,45): variable Asher is undefinedC:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,51): none is not a known user-defined script typeC:\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 actorNo 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 4Copyright © 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 undefinedC:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(7,47): none is not a known user-defined script typeC:\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 actorC:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,45): variable Asher is undefinedC:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(15,51): none is not a known user-defined script typeC:\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 actorNo 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 More sharing options...
LoneRaptor Posted January 16, 2017 Share Posted January 16, 2017 You forgot to define some properties If you can post the entire script so I can see which ones I might be able to assist. Link to comment Share on other sites More sharing options...
LoneRaptor Posted January 16, 2017 Share Posted January 16, 2017 Actually You mistyped GetActorRefrence() It should be GetActorReference(). Link to comment Share on other sites More sharing options...
Visi0n Posted January 16, 2017 Author Share Posted January 16, 2017 (edited) 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 January 16, 2017 by Visi0n Link to comment Share on other sites More sharing options...
LoneRaptor Posted January 16, 2017 Share Posted January 16, 2017 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 More sharing options...
Visi0n Posted January 16, 2017 Author Share Posted January 16, 2017 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 4Copyright © 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 definedC:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(26,24): script variable ::Asher_var already definedC:\Users\Zander\AppData\Local\Temp\PapyrusTemp\Fragments\Quests\QF_COMAsher_01005433.psc(26,24): script property Asher already has a get function definedNo 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 More sharing options...
LoneRaptor Posted January 16, 2017 Share Posted January 16, 2017 Yes but for some reason he was defined multiple times. To fix this on the fragment click on advanced and the edit script then remove all duplicate properties. Or alternatively all properties and make them again. Link to comment Share on other sites More sharing options...
Visi0n Posted January 16, 2017 Author Share Posted January 16, 2017 That fixed it :D thank you so much!!! Link to comment Share on other sites More sharing options...
Recommended Posts