chucksteel Posted April 11, 2012 Share Posted April 11, 2012 I'm trying to use a custom activator to open a vault door, My problem is that the GenericControlPodScript doesn't work on it. It only seems to work when it's attached to the standard vault control panel. (sorry I don't know the form ID of it but, it the one with the animated lever.) Does anyone know of a scrip which will work on a custom activator that will open the vault door. My custom activator is a Mainframe. I tried to edit the GenericControlpodScript but, I haven't had any luck getting anything to work. Thanks in advance for any help. chuck Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted April 11, 2012 Share Posted April 11, 2012 (edited) Create an activator with the model you want (mainframe) Put a script on it, something like scn myscriptname BeginOnactivate if mydoorref.getopenstate 3 mydoorref.setopenstate 1 elseif mydoorref.getopenstate 1 mydoorref.setopenstate 3 endif End On the vault door ref, go to the activate parent tab and tick the box that says something like 'only activate via parent', that way they have to use the panel and can't just activate the gear door. Edit: got my getopenstate/setopenstate parameters backward. Edited April 11, 2012 by Quetzlsacatanango Link to comment Share on other sites More sharing options...
chucksteel Posted April 12, 2012 Author Share Posted April 12, 2012 Thanks for the help but, I couldn't get it to work so, like any determined person "I gave up!" http://forums.nexusmods.com/public/style_emoticons/dark/wallbash.gif I just changed the last step in opening the door by using the standard vault control panel. http://forums.nexusmods.com/public/style_emoticons/dark/sad.gif thanks anyway, chuck Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted April 12, 2012 Share Posted April 12, 2012 What part didn't work? I got a toilet to open the Mick and Ralph's secret door, we should be able to figure it out. Link to comment Share on other sites More sharing options...
chucksteel Posted April 12, 2012 Author Share Posted April 12, 2012 What part didn't work? I got a toilet to open the Mick and Ralph's secret door, we should be able to figure it out. it never activated the vault gear door. I tried your scrip, I tried editing a linked ref scrip used by the original vault door control panel. I spent the better part of yesterday afternoon trying to fix this bug, the odd thing is it was working at one time with the vanilla script. I changed some models out and, it stopped working. http://forums.nexusmods.com/public/style_emoticons/dark/wallbash.gif Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted April 13, 2012 Share Posted April 13, 2012 I forgot the part where you set the mainframe activator as the activate parent of the vault door.. You might not need a script at all that way, never tried with a vault door before. Link to comment Share on other sites More sharing options...
Carnatics Posted May 7, 2012 Share Posted May 7, 2012 (edited) first make sure that the used mainframe is an activatorand not something else i think there are 3 or 4 mainframes about the VGearDoor...it is an bullSh!t door cuz it dosent give propper feedback to scripts like"GetOpenState" i dont know why but as a simple solution to a switch or activator make a script that only activates the gear door without a script that checks thing like "if animisplaying" cuz the vgear wont answer correct also if you use an "Begin OnActivate script you have to put the word "Activate" right before the "Endif" and "End" okay something like that Scn ILoveChuckSteel ref My Ref Begin OnActivate Set MyRef to GetLinkedRef MyRef.Activate Activate ;this allows the switch to activate end or maybe super simple Begin OnActivate Activate end if u use the second script just set the Activation Parent on the desired door to the Mainframe or any other activator okay simple version use my second Script code on youre activator and now set the Activation Parent on youre door to this activator.... Edited May 7, 2012 by Carnatics Link to comment Share on other sites More sharing options...
Recommended Posts