CountFuzzball Posted June 3, 2013 Share Posted June 3, 2013 I've the following quest script, in its own quest (priority 50, default quest script run time) now everything runs fine until after the 5 caps get added (for debugging purposes, same with the ammo), then the script seems to just stop, no other caps get added. Not sure if getstage etc is working either.. I don't get the ammo added either. So yeah, in essence, the quest script just seems to do nothing else other than add 5 caps. scn CFFFSlaveryQuestScriptshort doonceshort percentBegin GameModeif doonce == 0 set percent to getrandompercent ;set percent to (percent + (10 - 2)) player.additem caps001 5 if percent <= 25 player.additem caps001 25 aaescapedslaveREF.moveto QuickFixMarker elseif percent >= 26 && <= 50 player.additem caps001 50 aaescapedslaveREF.moveto aaescapedslavefarragutMarker elseif percent >= 51 && <= 75 player.additem caps001 75 aaescapedslaveREF.moveto aaescapedslaveabandonedtentMarker elseif percent >= 76 && <= 90 player.additem caps001 75 aaescapedslaveREF.moveto GrouseRef else player.additem caps001 100 aaescapedslaveREF.moveto aaescapedslavebigtownMARKER endifset doonce to 1endifplayer.additem caps001 7if getstage TSFFSlaveryQ1 == 1 || < 100player.additem ammo556mm 1endifif aaescapedslaveREF.getdead == 1 && getstage TSFFSlaveryQ1 == 1setstage TSFFSlaveryQ1 100endifEnd Link to comment Share on other sites More sharing options...
blove Posted June 3, 2013 Share Posted June 3, 2013 Cipscis - Fallout - Script Validator should help you out. IF A B or/and A B not IF A B or/and B Also, if you are using FOSE, try the PRINTC command to print debug messages to the console. PRINTC "omgitworks" Link to comment Share on other sites More sharing options...
CountFuzzball Posted June 3, 2013 Author Share Posted June 3, 2013 :wallbash:Oh man I feel like an idiot. Can't believe I didn't see that. Pity the interpreter exits silently when it comes across an invalid expression. Thanks for the heads up, Blove! Link to comment Share on other sites More sharing options...
Recommended Posts