Xenox122 Posted November 24, 2012 Share Posted November 24, 2012 Hi I am making a quest and at the end the player receives 200 or 100 caps depending on if they passed a speech check earlier in the quest. The result script for the final quest stage looks like this if getquestvariable mistrecruitquest.negotiate == 1player.additem caps001 200if getquestvariable mistrecruitquest.negotiate == 2player.additem caps001 100 The GECK will not accept this, can anyone tell me what I am doing wrong? Link to comment Share on other sites More sharing options...
luthienanarion Posted November 24, 2012 Share Posted November 24, 2012 Change that as follows: if mistrecruitquest.negotiate == 1 player.additem caps001 200 elseif mistrecruitquest.negotiate == 2 player.additem caps001 100 endif The GetQuestVariable function is not used in scripts. Also, you must tell the script parser when each conditional block begins and ends. Link to comment Share on other sites More sharing options...
Xenox122 Posted November 24, 2012 Author Share Posted November 24, 2012 Thanks for you help, I'm kind of new to the GECK and this is my first mod. Link to comment Share on other sites More sharing options...
Xenox122 Posted November 24, 2012 Author Share Posted November 24, 2012 I have a new problem that popped up, at the end of the quest it is marked as completed on the quest stage in the GECK and on the pip-boy screen in game, but no caps are added. Link to comment Share on other sites More sharing options...
Recommended Posts