AnubisGrim Posted April 19, 2011 Share Posted April 19, 2011 I need to make a quest where you kill X creatures, and when you kill them it goes to the next stage of the quest (or in this case, goes to the next stage and completes the quest) I need to know how to script it to make it work... I tried finding a tutorial on google and the GECK website, with no success. Link to comment Share on other sites More sharing options...
Floatsup Posted April 19, 2011 Share Posted April 19, 2011 look at quest VMS42 that has a lot of what you need. Link to comment Share on other sites More sharing options...
PaladinRider Posted April 19, 2011 Share Posted April 19, 2011 What I like to do is to have the quest script control the variables. So your quest: "KillCreaturesQuest" has a script selected to it: scriptname KillCreaturesQuestScript short killed begin GameMode If killed == X ;X is # of creatures killed SetStage MyQuest YY ;YY is the next stage endif End Then, you also need this script to be running off of your creatures to be killed. This is what will raise the death tally. scriptname KillCreaturesDeathScript Begin OnDeath set KillCreaturesQuest.killed to KillCreaturesQuest.killed + 1 End Link to comment Share on other sites More sharing options...
AnubisGrim Posted April 19, 2011 Author Share Posted April 19, 2011 (edited) Thank you both, PaladinRider... that looks like it will work .Thank you so much! Now all I haveto fix is the Creatures not fighting correctly and my quest will be complete. :) Edited April 19, 2011 by Anubis_Grim Link to comment Share on other sites More sharing options...
Recommended Posts