• Announcements

    • Ashal

      SITE MOVED - IN READ ONLY MODE   12/08/2015

      Please use http://www.loverslab.com moving forward. Site has been restored to a previous version, and this one placed into a read-only mode. This is available for a limited time so users may reference/copy content that has been lost in the transition. This will no longer be accessible by December 22nd, 2015.

Archived

This topic is now archived and is closed to further replies.

acherontic

Get RefID of target? [Solved]

Is there a command that can be scripted that will return the refID of whatever the player is looking at?  Is it possible to get something's RefID without using console, or looking it up in some table?


 


I've googled for a while with no results.  I checked the obse command table and couldn't find anything helpful either.


 


Thanks for your help


 


0

Share this post


Link to post

There is a mod which does this but I can't remember what it is called.


 


If you can get it with the console just use the console.


0

Share this post


Link to post

Woohoo!  Thanks Poontank!


 


For those wondering, the critical command here is GetCrosshairRef.  I derped hard when searching the obse list, because it is on there for sure.


0

Share this post


Link to post