SpartanISW108 Posted November 16, 2013 Share Posted November 16, 2013 Hello, I'm trying to create a basic mod for Fallout 3 (I posted on NV forums as it gets more traffic) where the computer systems in the citadel can turn turned on/off at will. My setup is model swaps, with all the off computers set to initially disabled and all the on (default computers) currently enabled. My current script for the On/Off is two separate scripts attached to two separate switches Scn BoSComputersOFFScript begin OnActivateMainframeSmallOff1.enableMainframeSmallOff2.enableMainframeSmallOff3.enableMainframeSmallOff4.enableMainframeSmallOff5.enableMainframeSmallOn1.disableMainframeSmallOn2.disableMainframeSmallOn3.disableMainframeSmallOn4.disableMainframeSmallOn5.disableMainframeLight1.disableMainframeLight2.disableMainframeLight3.disableMainframeLight4.disableMainframeLight5.disableMainframeLight6.disableMainframeLight7.disableMainframeLight8.disableMainframeLight9.disableMainframeLight10.disableBoSSwitchOFF.disableBosSwitchON.enableendHowever, I'd like to make it so that I only have to use 1 script, and 1 switch so the disappearing before my eyes and reappearing before my eyes switch isn't present. I thought that the best way to do this would be by using the light switch script from this page: http://geck.bethsoft.com/index.php?title=Useful_Scripts My current set up using this script is having all the systems that are supposed to be on linked via enable parent to an X marker, and all the systems that are off set to an initially disabled enable parent X marker. My current script is: scn BosComputersONOFFtestScript ref light Begin OnActivateif BoSSystemsOn.GetDisabledBoSSystemsOn.Enableplaysound objmainframebootelseBoSSystemsOn.Disable if BoSSystemsOff.GetDisabledBoSSystemsOff.DisableelseBoSSystemsOff.EnableendifActivateEndI did another slightly modified version of this which allowed me to enable/disable the on systems at will, but the second condition of the off systems wouldn't enable when the on systems were disabled.So how would I make this condition where the on systems X marker gets disabled and the off systems x marker gets enabled, and then the opposite when the switch is hit again (on systems enable, then the off systems disable) I'm fairly new to scripting so any help would be appreciatedmany thanks in advance Link to comment Share on other sites More sharing options...
Hypermouse1mil Posted November 16, 2013 Share Posted November 16, 2013 i tried to bring this up in the chat but your were most likely busy. http://newvegas.nexusmods.com/mods/36290/? and http://newvegas.nexusmods.com/mods/45432//? . I don't have any experience with geck but i have herd from several forums that these two tools help a great deal. Link to comment Share on other sites More sharing options...
SpartanISW108 Posted November 16, 2013 Author Share Posted November 16, 2013 Just a note I managed to sort this problem out now using only one X marker. I just linked every computer system effected by this script to the enable parent X marker. Then set all the computers I want to be off to just use the "Set enable state to opposite of parent" flag. and it worked. Using just one block. Thank again people Link to comment Share on other sites More sharing options...
Recommended Posts