Papyrus Fragments for a custom follower.

Post » Mon Sep 09, 2013 3:54 pm

Hi all, I'm trying to make a completely customized follower, and I'm having some problems setting up the dialogue for the follower. I'm copying the dialogue from the defaults into a new quest as to not mess with the old one, and the fragment I'm trying to use is:

(pDialogueFollower as DialogueFollowerScript).SetFollower(akspeaker)

Its kicking it back out when i try to compile it, and I don't know what I'm doing wrong. My experiences with scripts is very limited. Any help would be appreacheated. This is the line I want for this actor to become a follower.

User avatar
NIloufar Emporio
 
Posts: 3366
Joined: Tue Dec 19, 2006 6:18 pm

Post » Mon Sep 09, 2013 1:18 pm

Post compile errors. It's hard guess what's going wrong without them - especially because it's only a papyrus fragment and not a full script.

Do you have properties set up and filled? I would guess that the compiler doesn't know what pDialogueFollower is. Essentially what that script there is trying to run the SetFollower function from "DialogueFollowerScript" which is attached to pDialogueFollower.

Try editing your properties, and set pDialogueFollower (you may have to create this - a Quest property) to point to DialogueFollower.

User avatar
Katie Louise Ingram
 
Posts: 3437
Joined: Sat Nov 18, 2006 2:10 am

Post » Mon Sep 09, 2013 11:23 am

Starting 1 compile threads for 1 files...
Compiling "TIF__0100A16F"...
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__0100A16F.psc(9,1): variable pDialogueFollower is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__0100A16F.psc(9,19): cannot cast a none to a dialoguefollowerscript, types are incompatible
No output generated for TIF__0100A16F, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__0100A16F

I don't have the properties set up - I'm not sure how. I haven't created a quest property - I'll look into this. I'm not sure how to do it.

User avatar
Rudy Paint fingers
 
Posts: 3416
Joined: Sun Nov 11, 2007 1:52 am


Return to V - Skyrim