Candall Posted February 15, 2013 Share Posted February 15, 2013 ...so I'm taking my first foray into modding New Vegas by trying my hand at making a hand-held device that can pop locks by hacking instead of lockpicking. I'm not new to coding, and I have already succeeded in making a modified detonator that activates a hidden terminal when the trigger is pulled. What I need to know is whether or not it's possible to capture the object that the character is looking at so that I can test it for type and (if it's a door or container), grab its lock level so that I can apply it to the hidden terminal and then force an unlock back on the door if the hack is successful. I skimmed the global variables, but I didn't see one that looked like it would suit me. Did I overlook one? Is there some other way that might work? Link to comment Share on other sites More sharing options...
blove Posted February 15, 2013 Share Posted February 15, 2013 You could use NVSE for GetCrosshairRef. There is also GetLockLevel once you have finished typing. Link to comment Share on other sites More sharing options...
luthienanarion Posted February 15, 2013 Share Posted February 15, 2013 Yep, you'll need NVSE's GetCrosshairRef. Link to comment Share on other sites More sharing options...
Candall Posted February 16, 2013 Author Share Posted February 16, 2013 blove, that is exactly the sort of thing I was looking for. Thanks a billion. The rest should be easy. Link to comment Share on other sites More sharing options...
Recommended Posts