Roycesraphim Posted July 21, 2011 Share Posted July 21, 2011 So, what I have laid out is that there is an important room where there are mirelurks. I hit and switch and people swarm in. I want the quest to advance when the Mirelurk hunters and king are killed. Then the people advance with the player character to farm and kill the mirelurks there. I plan to have these mirelurks have the following scripts. scn VTFIMQCrabshell ;this is for the mirlurks in the atrium Begin ondeath if (VTFIMirelurk2Ref1.getdead = 1) (VTFIMirelurk2Ref2.getdead = 1) (VTFIMirelurk3Ref1.getdead = 1) setstage VTFIMainquestLiberation 150 endif end scn VTFIMQCrabbake ;this is for the mirelurks on the farm. Begin ondeath if (VTFIMirelurk2Ref3.getdead = 1) (VTFIMirelurk2Ref4.getdead = 1) (VTFIMirelurk3Ref2.getdead = 1) (VTFIMirelurk3Ref3.getdead = 1) setstage VTFIMainquestLiberation 200 endif end Please critique. Thank you. Link to comment Share on other sites More sharing options...
AlexxEG Posted July 21, 2011 Share Posted July 21, 2011 (edited) scn VTFIMQCrabshell ;this is for the mirlurks in the atrium Begin ondeath if (VTFIMirelurk2Ref1.getdead == 1) && (VTFIMirelurk2Ref2.getdead == 1) && (VTFIMirelurk3Ref1.getdead == 1) setstage VTFIMainquestLiberation 150 endif end scn VTFIMQCrabbake ;this is for the mirelurks on the farm. Begin ondeath if (VTFIMirelurk2Ref3.getdead == 1) && (VTFIMirelurk2Ref4.getdead == 1) && (VTFIMirelurk3Ref2.getdead == 1) && (VTFIMirelurk3Ref3.getdead == 1) setstage VTFIMainquestLiberation 200 endif end Use two "=" instead of one ("=="). And line all the conditions up and separate them with "&&" Edited July 21, 2011 by Alexx378 Link to comment Share on other sites More sharing options...
Recommended Posts