My doors wont activate...

Post » Mon Sep 20, 2010 1:08 pm

I have two doors set up for an airlock. There are 4 different objects with various scripts on them to open or close them via the 'activate' command at some point, and the doors refuse to budge. Everything else the switches do works (effects like steam jets, electricity, noises, and switch activation) so I know the scripts are running fully. Everything works but the damn doors. And get this, I cannot even activate them via the console! I open it, click on them, it says "door" at the top and I type Activate and hit enter. No effect. The only way I can activate them is if I walk up and hit E to activate... Why the hell wouldn't they work any other way? They are default doors that I simply made a new form of, and attached a script too (to prevent player activation) but the buggyness occured, so I took the script off. Other than that there are no flags set on their of them except for Persistant Reference and they have a Ref ID... Can anyone help me?!?

Thanks,
Gunmaster95
User avatar
Rhiannon Jones
 
Posts: 3423
Joined: Thu Sep 21, 2006 3:18 pm

Post » Mon Sep 20, 2010 6:58 pm

When at the console, did you click on the door and type
Activate Player


and it the script
doorREF.Activate Player


Just a thought. I've had to do it this way with containers.
User avatar
Ana
 
Posts: 3445
Joined: Sat Jul 01, 2006 4:29 am

Post » Mon Sep 20, 2010 6:08 am

Yes ref.activate player will work, but you may want to get more precise seeing as how it`s an airlock. A combination of getopenstate, and setopenstate can ensure that the doors function as you intend. You may want to set the doors up so that they can't be activated by the player directly to prevent them from just opening both doors at the same time (I assume they are animated doors).
User avatar
nath
 
Posts: 3463
Joined: Mon Jan 22, 2007 5:34 am

Post » Mon Sep 20, 2010 5:53 pm

As far as I can tell that worked! Thanks, both of you. Now I have my awsome functioning airlocks. :D
User avatar
djimi
 
Posts: 3519
Joined: Mon Oct 23, 2006 6:44 am


Return to Fallout: New Vegas