Jump to content

NPC death counter not advancing the quest.


Recommended Posts

To start off I am EXTREMELY new to the modding scene and this is my very first quest. I have tried to follow Seddons mod tutorial on the NPC counter and I followed it down to the tee but i am at my wits end.  I have a part in the quest where you must fend off a group of raiders and kill all of them. Once you kill all of them it should advance to the next stage in the quest which is going to talk to another npc. However, this is where my problem is. The markers show up and when i kill a raider the marker goes away but when you kill all 11 of the raiders the quest never advances to the next stage. 

This is the script I used for the quest script: 

 

scn counterscript

short killcount

begin gamemode

if [killcount ==11]
    setstage ThinningTheHerd 20
endif

end

 

The NPC's script:

scn killscript1

begin ondeath

set ThinningTheHerd.killcount to [ThinningTheHerd.killcount +1]

end

 

ANY and ALL help is definitely appreciated!!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...