Need Help-I dont want my quest to start in the middle of it

Post » Wed Jun 20, 2012 11:19 pm

Here is my situation. I have a quest that involves killing a bandit. I have the script on his Alias in the quest to advance the quest stage when he dies. I have the quest as Start Enabled.
As it is right now I have to disable that bandit initially and then enable the reference in the script, or else when I kill the actor before I start the quest, it just jumps right to that stage in the quest and skips a large portion of it.

My question is: How do I set it so that I dont have to have that bandit initially disabled and so that I can kill that bandit before beginning the quest, and then resurrect him once the quest begins.

Thanks in advance!
User avatar
kitten maciver
 
Posts: 3472
Joined: Fri Jun 30, 2006 2:36 pm

Post » Thu Jun 21, 2012 7:43 am

His OnDeath SetStage command should be conditionalized to require that the player is already at a certain stage in the appropriate quest in order to advance it. Then, whenever you get the Objective to kill him, in the quest stage check your Alias' ref for IsDead and if it ==1, use the resurrect command.
Better yet (as Resurrect has been buggy for some folks) just use a PlaceActorAtMe of the bandit at where the bandit's corpse is, then disable the dead bandit, clear the alias, set the new bandit to fill the alias, and disable/delete the old bandit.
User avatar
GRAEME
 
Posts: 3363
Joined: Sat May 19, 2007 2:48 am


Return to V - Skyrim