Jump to content

stage not completing on item pickup


Recommended Posts

so i have this item alias that i place in a disabled container. after a certain queststage this container activates and the item can be found in it. both aliases allow disabled references.

 

Now to my problem:

i have attached a script to the alias. on itempickup to the players inventory it sets to a further queststage. now the weird thing happens. the stage has both stage completed and stage displayed correctly set. however the stage never completes and just the next objective gets disaplayed. testing the stage via console confirms my theory that the stage does not complete and now 2 questmarkers show up as both stages are defined as stage displayed. can anyone help me with that?

 

i also added complete stage to my script even though it shouldnt be necessary as it is defined in my setstage. here is the script source code:

Scriptname TTTCramLastPickup extends ReferenceAlias


Quest Property TTTMoiraDialogueQuest auto const


Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
if akNewContainer == Game.GetPlayer()
TTTMoiraDialogueQuest.SetObjectiveCompleted(150)
TTTMoiraDialogueQuest.SetStage(160)
endIf
endEvent

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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