Hey guys,
I have been following the basic quest tutorial on the creation kit website, and am now creating a more detailed questline.
As part of a quest, the player is asked to retrieve a full set of armor (helmet, cuirass, gauntlets & boots)
How can I script it so that the objective advances when ALL of the items have been picked up?
This code is currently applied too all 4 pieces of armor, and at the moment, the quest advances when one piece has been picked up.
Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer)
if (newContainer == Game.GetPlayer())
KSQ01.SetObjectivedisplayed(30)
KSQ01.SetStage(30)
endif
EndEvent
if (newContainer == Game.GetPlayer())
KSQ01.SetObjectivedisplayed(30)
KSQ01.SetStage(30)
endif
EndEvent
There must be some way to say "if cuirass, helmet, boots & gauntlets are in player inventory, SetStage(30)" am I right?
I will really appriciate any help.
Thanks,
JPiiONEFOURONE
