darkus37 Posted December 27, 2009 Share Posted December 27, 2009 Hi, I am trying to make a fake elevator, ala a door that is connected to a large pipe to simulate an elevator shaft. My problem is that the door doesn't seem to work unless I am about 3-4 feet away in game or if I use the "no clip" code to activate it from the other side (the one covered up, and yes I have tried to rotate it 180 so that the other side is facing - no dice). I've tried to connect an electrical switch to the door and made it so that it can only be activated by the switch but that just make my game go into a never-ending loading screen. Even without the switch the door doesn't function correctly. I have used several different doors, it makes no difference. Can anyone help me with the door problem and perhaps a way for me to be able to use the switch? Thanks. Link to comment Share on other sites More sharing options...
RmKuND Posted December 27, 2009 Share Posted December 27, 2009 Wouldn't you just use a script that activates the door when the button is activated? Link to comment Share on other sites More sharing options...
darkus37 Posted December 28, 2009 Author Share Posted December 28, 2009 Well, first off, I don't know how to script - at all. Secondly, that doesn't explain why I have the door problem in the first place. If you would like to submit a script on how to do this, please, please do so. Thanks. Link to comment Share on other sites More sharing options...
pkleiss Posted December 28, 2009 Share Posted December 28, 2009 Its possible that the door's collision geometry is hidden behind other objects collision geometry thus making it impossible to interact with. You can view the collision geometry within the GECK by pressing F4. If this is the case, try moving the door out a bit. Link to comment Share on other sites More sharing options...
RmKuND Posted December 28, 2009 Share Posted December 28, 2009 Well i am not an experienced modder, so i will leave the door trouble to pkleiss, but i can get you a script. (There is a chance that the script wont work for the same reason that your door is not working.) If the script does not work then submit more info about your door and the items it is near. However after looking at it further i saw that you don't even need a script. I believe that its not even the preferred method. You simply edit the door's selected reference. Go to the activate parents tab. Add a new entry, and input the cell(current cell) and reference(your button) name. the other way to do it is with script. There are lots of ways to do this, but this is the most basic. apply this script to your switch and then link the references the script is below (make sure you include everything but the comments (from the scriptname to the end)) ScriptName MyButtonActivator;Every thing after a semicolon for the rest of the line;is defined as a comment.;Programmers use these to tell others what the program;does at specific points.;As long as there is a semicolon before it the text is ignored;by the computer. (This means you do not need to include it;but it would not harm the program if you did.) ref target ;i am declaring a variable for later use here Begin onActivate set target to getLinkedRef ;this defines target variable target.activate Player ;this actually causes the script to workend Best of Luck to you. Link to comment Share on other sites More sharing options...
darkus37 Posted December 28, 2009 Author Share Posted December 28, 2009 Okay - here goes:pkleiss - thank you for the reply, I checked the collision geometry but that wasn't the problem.RmKuND - THANK YOU VERY MUCH - the script worked beautifully (I copied everything even the comments :) ) My only question is does this only transport the player character or the whole party? Thanks again. Link to comment Share on other sites More sharing options...
RmKuND Posted December 28, 2009 Share Posted December 28, 2009 it should transport the whole party, but if it doesn't then there is something very wrong with the door not the script.(All the script does is cause you to activate the door from a different location) If that is the case i would start over with a different door. Link to comment Share on other sites More sharing options...
Recommended Posts