Continuing with quest building, today we script the actor and ring involved so that they link to the quest. By the end of this tutorial, the quest will be fully playable and able to be completed.
Dialogue Script -
GetOwningQuest().SetStage(40)
Thief Script -
Event OnDeath(Actor killer)
NewQuestThiefProperty.SetObjectiveDisplayed(20)
NewQuestThiefProperty.SetStage(20)
EndEvent
Ring Script -
Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer)
if (newContainer == Game.GetPlayer())
NewQuestRingProperty.SetObjectivedisplayed(30)
NewQuestRingProperty.SetStage(30)
endif
EndEvent
- - - - - - - - - - - - -
Subscribe to be kept up to date with the butterfly-chasing, let's plays, tutorials, screaming, British slang, stalking and more!
- - - - - - - - - - - - -
Join the British Revolution by following me on...
Facebook - / 355738821121743
Twitter - #!/BestInSlotYT
(Revolutions always take place on social media sites. Honest.)
Creation Kit Tutorials Playlist - • Creation Kit Tutorials
10 апр 2012