Quest Script Help

Post » Sat Feb 19, 2011 3:35 am

Hey guys,

I am trying to get a quest to set to a stage once the player kills a PC, but i am having trouble. I am a noob at scripting so any help will be appreciated.

Thanks,
Sil
User avatar
Kevin Jay
 
Posts: 3431
Joined: Sun Apr 29, 2007 4:29 am

Post » Sat Feb 19, 2011 9:42 am

The character whose death is to trigger the update needs a script. Make it an Object script with an OnDeath block and apply it to the NPC character. You should be able to find many examples in the vanilla game to copy from. You'll possibly want to test a few extra things, to make sure the player was responsible for the death, that it happened at the right time etc. if that's important to your quest. The DB quest line is full of examples, all a bit different.
User avatar
Jade
 
Posts: 3520
Joined: Mon Jul 10, 2006 6:42 am

Post » Fri Feb 18, 2011 11:30 pm

Hey Thanks,

Got the script working, Finally finished that quest, yay.

Thanks again,
Sil
User avatar
Prisca Lacour
 
Posts: 3375
Joined: Thu Mar 15, 2007 9:25 am


Return to IV - Oblivion