Melchior3 Posted June 30, 2013 Share Posted June 30, 2013 (edited) Hello all, I wanted an item/weapon that could lock and unlock doors, based on skill level. I have a working script, though it doesn't seem to work every time (98%). Sometimes you shoot and it locks or unlocks and sometimes it does nothing. I am new to scripting and wrote this from scratch, using trial and error, geck tutorials and Google for learning. For simplicity, I am currently using the laser pistol (anim, mesh, etc) and adding my script to it using player.getweaponanim to detect weapon fire and use that to trigger lock/unlock. edit: Well I got the script working. Oddly enough, the cell I was using (megaton clinic) was the issue. When I moved to another cell (Brass Lantern interior and exterior) it works just fine. Some issue with loading straight into the clinic when testing perhaps? I don't know.... Edited June 30, 2013 by Melchior3 Link to comment Share on other sites More sharing options...
Recommended Posts