Jump to content

Photo

Stuck trying to get stage to begin

creation kit fallout 4 stage help cant tutorial

  • Please log in to reply
6 replies to this topic

#1
four2nothin

four2nothin

    Enthusiast

  • Supporter
  • PipPip
  • 201 posts

I've tried everything. I've tried switching things around and adding scripts to dialogue rather than the stage and so on and so forth and I just can't seem to figure it out.

 

So the quest has you bring a companion (or not, but i'm testing with him first) and after you find the object he asks you to find, you return to him to inform him that you have. However, when you return to him he just gives you the usual, "recruited" dialogue rather than the "quest is finished" dialogue.

 

what am i missing?

 

The way i have it set up is there is scripting attatched to the object that is inside a container. So when the player retrieves the object from the container, it is the scrpting attatched to the object that triggers the next stage, thus (OR SO ITS SUPPOSED TO ) Triggering the next stage A.K.A. returning to companion Npc with dialogue.

 

to clarify in order it goes:

 

SetObjectiveDisplayed(10)

Container.Enable()

 

 

 

 

 

 

player gets to container and goes within.

 

When he grabs the item it triggers the script attatched to it which is:

 

 

 

 

Scriptname PlayerItemScript extends ObjectReference Const

Quest Property NameofQuest Auto Const

Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
 if akNewContainer == Game.GetPlayer()
 NameofQuest.SetStage(20)
 endIf
endEvent

 

 

SetObjectiveCompleted(10)

SetObjectiveDisplayed(20)

 

 

 

 

setting stage 20, which requires player to return to the companion.

THIS ALL WORKS.

But,

When player gets to companion:

 

 

 

 

(Attatched TO dialogue)

 

GetStage = 50

GetIsId  - Npc =1.00

 

 

 

 

Does not work. It just goes to his regular companion dialogue. I had it working so that when I fired him it would work but then it would go back to his "Recruited" dialogue. But anyways, I've tried referring to MacCready quest and i just can't figure it out.

 

By the way, my scripting ends with

Game.GetPlayer().RemoveItem(Item)

Game.GetPlayer().AddItem(Item)

 

 

 

 

 

 



#2
chucksteel

chucksteel

    Now with 40% more tiny robots!

  • Premium Member
  • 4,355 posts

I'm not the best scripter and mostly do simple stuff but have you tried to have the item outside of a container? I'm just wondering if your script is firing. 



#3
four2nothin

four2nothin

    Enthusiast

  • Supporter
  • PipPip
  • 201 posts

no i haven't, but the thing is, the part where the player grabs the item works and it directs you to take the item to the npc. it's just it never brings up the final piec of dialogue to end the quest. if that makes sense..



#4
vkz89q

vkz89q

    Fan

  • Members
  • PipPipPip
  • 294 posts

You are doing  NameofQuest.SetStage(20) ?

 

And then trying to GetStage = 50 ?

 

Is there anything setting stage 50 ? In your example you are setting stage 20, but the conditions make it so, that the current stage needs to be already set to 50 for it to work at all.

 

Are you using separate quest for your quest and it's not inside regular companion dialogue quest? If so, give it more Priority than companion dialogue. Or give the other dialogues starts Conditions too so they can't trigger if stage is xx.

 

If you have 2 quests with same conditions(or no conditions), the one with higher priority will be used.

 

If you take a look at vanilla companion quests, you will notice Caits personal quest is a bit higher priority than her companion dialogue.

 

Edit: Oh, and also if it's current companion, you need to select "Talk" in the dialogue wheel before the conversation begins(unless it's forcegreet).


Edited by vkz89q, 27 April 2017 - 01:04 PM.


#5
four2nothin

four2nothin

    Enthusiast

  • Supporter
  • PipPip
  • 201 posts

You are doing  NameofQuest.SetStage(20) ?

 

And then trying to GetStage = 50 ?

 

Is there anything setting stage 50 ? In your example you are setting stage 20, but the conditions make it so, that the current stage needs to be already set to 50 for it to work at all.

 

Are you using separate quest for your quest and it's not inside regular companion dialogue quest? If so, give it more Priority than companion dialogue. Or give the other dialogues starts Conditions too so they can't trigger if stage is xx.

 

If you have 2 quests with same conditions(or no conditions), the one with higher priority will be used.

 

If you take a look at vanilla companion quests, you will notice Caits personal quest is a bit higher priority than her companion dialogue.

 

Edit: Oh, and also if it's current companion, you need to select "Talk" in the dialogue wheel before the conversation begins(unless it's forcegreet).

 

 

woops. so yes, i have a companion quest, and the quest WITH the companion. they are 2 seperate quests. I was trying to simplify it by adding just the one. so pretend i didn't say stage50 but rather stage20. But basically, finding the note is supposed to trigger the scene where the player needs to talk to the npc (stage 20).

 

I am pretty new at this so forgive me for asking, but what do you mean by selecting "talk" in the wheel and how do you set priority for dialogue?



#6
four2nothin

four2nothin

    Enthusiast

  • Supporter
  • PipPip
  • 201 posts

 
Edit: Oh, and also if it's current companion, you need to select "Talk" in the dialogue wheel before the conversation begins(unless it's forcegreet).[/quote]


Dude you've been such a help! I think every question I've asked you've helped me with so thank you for taking the time.

Setting yhr priority for the greeting did resolve the issue. But if you don't mind, wgat did you mean about the "talk" thing in the wheel ? Amd what does setting a force greet do ?

#7
vkz89q

vkz89q

    Fan

  • Members
  • PipPipPip
  • 294 posts

I mean this wheel when you first click on your current companion: https://staticdelive...-1465278447.jpg (pic is from this mod http://www.nexusmods...4/mods/14265/?)

 

 

That is somekind of "Teammate always have this command wheel" thing, and if you want quest dialogue you must select Talk. Unless, you have ForceGreet in the Greet in the quest dialogue. Force greet should start the talk even when you walk near companion.







Also tagged with one or more of these keywords: creation kit, fallout 4, stage, help, cant, tutorial

Page loaded in: 1.085 seconds