Part four of a tutorial on making your own quest in the creation kit.
1:35 - 7:37 Adding a Script to the Enemy
8:05 - 14:24 Adding a Script to the Item
16:00 - 21:00 Adding some more Code to the Quest
21:15 - 26:17 Testing
Code:
//On The Enemies Script
Event OnDeath(Actor killer)
MODQuest.SetObjectiveDisplayed(20)
MODQuest.SetStage(20)
EndEvent
//On The Items Script
Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer)
if (newContainer == Game.GetPlayer())
MODQuest.SetObjectiveDisplayed(30)
MODQuest.SetStage(30)
endif
EndEvent
//On Quests Stage 40 Script
Alias_Billy.GetReference().AddItem(Alias_Sword.GetReference())
Game.GetPlayer().AddItem(Gold001, 1000)
Download
0 formats
No download links available.
Creation Kit Tutorial 6 - Making a Quest (Part 4) | NatokHD