Looking for a way to track the number of quests the player has completed in a script. Either that, or fire an event when any quest is completed (which I don't think there is an event handler for).
Looking for a way to track the number of quests the player has completed in a script. Either that, or fire an event when any quest is completed (which I don't think there is an event handler for).
I think you'd have to set properties for every quest in the game and check against them all using http://www.creationkit.com/IsCompleted_-_Quest
As there is currently no way to get the current number of quests already completed in the quest log, including active ones.
Edit: Also bare in mind, there are a few quests that never complete but are also no longer running. So isComplete() would return false for them.
Apparently, there is:
http://www.creationkit.com/QueryStat_-_Game
Ah that'll work too. Forgot all about that.
It's a shame, I still can't find any way of firing an event when a (any) quest begins... But I did manage to use QueryStat to configure an autosave feature for quest completion.