Roycesraphim Posted June 30, 2011 Share Posted June 30, 2011 (edited) So I am hammering along at the same mod I keep talking about and I've hit a real block. I suck at scripting. I got a 0 in basic computer science. So here's my setup 15 player killed fungus already20 al says go to apartments and resolve conflict with fungus30 resolve the conflict50 conflict resolved200 AL's farm is safe and I have been paid.210 end quest and here's my script. SCN VTFIElfangorMurder begin ondeath VTFIMr.Blueif (getStage VTFIElfangor <15) setstage VTFIElfangor 15elseif (getStage VTFIElfangor <= 30) setstage VTFIElfangor 50endif Please critique Edited June 30, 2011 by Roycesraphim Link to comment Share on other sites More sharing options...
hikky71 Posted July 1, 2011 Share Posted July 1, 2011 Except for the reference to the character (VTFIMr.Blue), that script looks fine to me. The period character should be used with care as it has a special meaning when used in scripts (your use of it is illegal). In most cases GECK will remove any illegal characters, but in scripts theres no handholding. Find where you put VTFIMrBlue (most likely the period has been removed) into the world and assign it a EditorID, like VTFIMrBlueREF. Also make sure the "Persistant Reference" checkbox is marked. Change the script to: begin ondeath VTFIMrBlueREF ;<-- must be a reference... That should be it. Also I'm assuming the NPC VTFIMrBlue is set to have the script VTFIElfangorMurder on it. Otherwise it won't work. Link to comment Share on other sites More sharing options...
Recommended Posts