Jump to content

Capturing the "current" object...


Candall

Recommended Posts

...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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...