icecreamassassin Posted July 29, 2011 Share Posted July 29, 2011 Ok... now I'm feeling dumb. I have a quest set up with conditional stages (if you do things A then B then C, or C then B then A, or A then C then B, etc) and it works great. I have AI packages from a character removed and new ones put in and the NPC moves to a location marker and I want to have the following script run to make him change his equipment and the stage of the quest progress once he arrives... ScriptName CRfinneasreequipscript short doonce Begin GameMode if doonce == 0 if CRfinneas.getincell frostfireforge CRfinneas.additem lowershirt01 1 CRfinneas.additem lowerpants01 1 CRfinneas.additem leathergauntlets 1 CRfinneas.additem leatherboots 1 CRfinneas.removeitem lowerpants05 1 CRfinneas.removeitem lowershirt05 1 setstage CRfinneasjob 40 set doonce to 1 endif endif end But... he gets there, he stands there, and doesn't reequip and the stage doesn't progress. I've tried putting the script on him and leaving it off and just allowing it to trigger on GameMode automatically. What stupid thing am I doing that I'm missing? I must be getting tired :P Link to comment Share on other sites More sharing options...
Skevitj Posted July 29, 2011 Share Posted July 29, 2011 Only thing I could suggest is changing "CRfinneas.getincell frostfireforge"to "CRfinneas.getincell frostfireforge == 1". Apart from that it looks about right. If that change doesn't work, try sticking a message underneath the doonce if test, and another after the getincell test. Depending on which ones show up, you can infer which part is failing. Link to comment Share on other sites More sharing options...
icecreamassassin Posted July 29, 2011 Author Share Posted July 29, 2011 Yeah that was it. I thought about that right after I posted this, thanks :) I knew I was missing something mundane "I musta put some decimal point in the wrong place or left out a comma. I'm always messing up some mundane detail" - Michael Bolton (office space) hehehe thanks Link to comment Share on other sites More sharing options...
Recommended Posts