WitchsWorkshop Posted April 8, 2023 Share Posted April 8, 2023 Hi everyone, So I'm super new to writing Bethesda scripts and was wondering what the script would be for advancing to the next quest stage upon the player killing an NPC? For context, it's just a simple bounty quest. Player goes into dungeon, gets quest to kill Bandit chief, kills bandit chief and onto the next objective. Thanks! ^-^ -Witchy Link to comment Share on other sites More sharing options...
dylbill Posted April 8, 2023 Share Posted April 8, 2023 You can put a script directly on the bandit chief and use the OnDeath event: Scriptname BanditChiefScript extends Actor Quest Property MyQuest Auto Event OnDeath(Actor akKiller) If akKiller == Game.GetPlayer() MyQuest.SetStage(20) Else ;player didn't kill the bandit chief, do something different here Endif EndEvent Change the script name to something more unique for you mod. Link to comment Share on other sites More sharing options...
Recommended Posts