Jump to content

How to create a custom follower?


Recommended Posts

Definitely watch Seddon4494 videos. They are probably the best for FO4, NPC related or not.

 

Here are two that helped me make my first NPC, especially the second one on turning an NPC you make into a merchant. Even if you don;t want to make a merchant, the info is good to understand how the merchant NPC system works.

 

Make an NPC

 

Make a Merchant

 

If you find these two helpful, I suggest you download them and archive them locally. This is the third YT account the author has had them under in the past year. They disappear for a while then show up under a new account weeks later. Not what you want when you're stuck in the middle of a project, know you saw something in a video and that video is no longer available. This can be said for any video tutorial, actually. You never know when something on the Internets is going to go *poof*.

Link to comment
Share on other sites

  • 1 year later...

i tried this as well and keep getting an error. does anyone know how to fix this? i rewatched the video a couple of times and redid the steps 3 times but i keep ending with this 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_GwendolynCompanionQuest_02004C9A"...
C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(7,45): variable GwendolynCompanion is undefined
C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(7,64): none is not a known user-defined script type
C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(7,64): type mismatch on parameter 1 - cannot pass a void to a actor
C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(15,45): variable GwendolynCompanion is undefined
C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(15,64): none is not a known user-defined script type
C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(15,64): type mismatch on parameter 1 - cannot pass a void to a actor
No output generated for Fragments:Quests:QF_GwendolynCompanionQuest_02004C9A, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on Fragments:Quests:QF_GwendolynCompanionQuest_02004C9A
anyone know what i am doing wrong? also i replaced the User\ stuff with ` so that is not what is wrong ;P
Edited by JeloKing
Link to comment
Share on other sites

which property do you mean, i have these filled out (using the video and autofill) and am not sure which one i am missing. images are in my stash https://sta.sh/22aa5qjviguh

The error is quite specific. :)

 

"Variable GwendolynCompanion is undefined" it says: type mismatch on parameter 1 - cannot pass a void to a actor.

 

This means you are trying to either fill this Actor variable with a so called 'NONE' (empty) object or made a typo in the variables.

Post your entire script, including variables.

Link to comment
Share on other sites

well all i added aside from that was thise in the papyrus fragment bit FollowersScript.GetScript().DismissCompanion(GwendolynCompanion.GetActorReference())

and the companionactorscript like shown in the video. not sure where i need to find the rest of the script or the part you need for it
Link to comment
Share on other sites

C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(7,45): variable GwendolynCompanion is undefined

You need to add a property; ReferenceAlias GwendolynCompanion, and fill it.

C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(7,64): none is not a known user-defined script type

I guess, but not sure, that you need to install the source scripts, to fix this you can use the Bethesda launcher to repair the CK, when you run it after repairing it will ask if you want to install Base.zip

C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(7,64): type mismatch on parameter 1 - cannot pass a void to a actor

I guess that, since GwendolynCompanion property is not defined, GetActorReference() returns void.

 

C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(15,45): variable GwendolynCompanion is undefined
C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(15,64): none is not a known user-defined script type
C:\`\PapyrusTemp\Fragments\Quests\QF_GwendolynCompanionQuest_02004C9A.psc(15,64): type mismatch on parameter 1 - cannot pass a void to a actor

Same, but at line 15 instead of line 7.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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