LegendofThunder Posted December 18, 2013 Share Posted December 18, 2013 I've been scratching my head on this for a while now. After spending a fair few hours writing most of my new quest, I realised I need to check the status of the objective prior to incrementing a variable. I am attempting to do this as follows: if pLOT01Quest.GetObjectiveCompleted(stage, 0) == 1 However, this gives me the error that 'GetObjectiveCompleted is not a function or does not exist'. Surely there is a function that allows me to check the status of an objective? I have used the example from line 4515 on this web page: http://mod.gib.me/skyrim/functions.htmlProblem is, I believe that to be out-of-date. Anyone point me in the right direction? Link to comment Share on other sites More sharing options...
Xander9009 Posted December 18, 2013 Share Posted December 18, 2013 Don't use that list. Use this one: http://www.creationkit.com/Category:Papyrus. It's at the bottom of the page, and there's a second page with more. Looking there, I can see that GetObjectiveCompleted really isn't a scripting function. IsObjectiveCompleted, however, is. Also, once you change it, take out "== 1". IsObjectiveCompleted is a bool function. It'll return true or false. An "If" checks for true/false, so you don't need to do anything special. Just If pLOT01Quest.IsObjectiveComplete(10) Will run if objective 10 is completed. Link to comment Share on other sites More sharing options...
LegendofThunder Posted December 19, 2013 Author Share Posted December 19, 2013 THanks, works perfectly and saves me a ton of lines otherwise :D Link to comment Share on other sites More sharing options...
Recommended Posts