Tami
Banned
- Joined
- Mar 12, 2012
- Messages
- 2
- Reaction score
- 4,524
So I'm trying to script a quest. I just can't do it, I don't know what I'm doing wrong but its not working.
This isn't compiling right - when I try to put this script into the dialogue of an NPC to give the quest to the player if accepted it fails to compile and actually I think I might've done the dialogue wrong too since when I start up Skyrim and go to the character they just offer me generic responses instead of giving me an option to talk to them and find out about the quest.
This is supposed to make it so when the unique NPC I made for a bandit dies, it advances to the next stage of the quest - grab the key. Same as before it wouldn't compile so obviously I did something wrong.
So this is supposed to do the same thing, except when the player takes the key off the bandit it advances the stage to the next, which is to go further into the dungeon and find the ring - which brings me to the NEXT problem.
Again, this won't compile either. I can't see where I made a mistake though. This is supposed to advance it to the next stage, which is to return the quest to the original NPC. Which brings me get another problem..
GetOwningQuest().SetStage(50)
This is the same thing. Broken. This is in the NPC's dialogue.
The only working script I have is this. But its completely pointless if the player can't get or complete the objectives in the first place.
And so on to complete the objectives and change the journal etc.
tl;dr either I'm a shit scripter or Skyrim can go fuck itself someone help please. :(
GetOwningQuest().SetObjectiveDisplayed(10)
GetOwningQuest().SetStage(10)
This isn't compiling right - when I try to put this script into the dialogue of an NPC to give the quest to the player if accepted it fails to compile and actually I think I might've done the dialogue wrong too since when I start up Skyrim and go to the character they just offer me generic responses instead of giving me an option to talk to them and find out about the quest.
Event OnDeath(Actor killer)
MakashaKhajiitBanditProperty.SetObjectiveDisplayed(20)
MakashaKhajiitBanditfProperty.SetStage(20)
EndEvent
This is supposed to make it so when the unique NPC I made for a bandit dies, it advances to the next stage of the quest - grab the key. Same as before it wouldn't compile so obviously I did something wrong.
Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer)
if (newContainer == Game.GetPlayer())
MakashaKeyProperty.SetObjectivedisplayed(30)
MakashaKeyProperty.SetStage(30)
endif
EndEvent
So this is supposed to do the same thing, except when the player takes the key off the bandit it advances the stage to the next, which is to go further into the dungeon and find the ring - which brings me to the NEXT problem.
Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer)
if (newContainer == Game.GetPlayer())
MakashaRingProperty.SetObjectivedisplayed(40)
MakashaRingProperty.SetStage(40)
endif
EndEvent
Again, this won't compile either. I can't see where I made a mistake though. This is supposed to advance it to the next stage, which is to return the quest to the original NPC. Which brings me get another problem..
GetOwningQuest().SetStage(50)
This is the same thing. Broken. This is in the NPC's dialogue.
The only working script I have is this. But its completely pointless if the player can't get or complete the objectives in the first place.
SetObjectiveDisplayed(10)
SetObjectiveCompleted(10)
SetObjectiveDisplayed(20)
SetObjectiveCompleted(20)
SetObjectiveDisplayed(30)
SetObjectiveCompleted(30)
And so on to complete the objectives and change the journal etc.
tl;dr either I'm a shit scripter or Skyrim can go fuck itself someone help please. :(