Scarecrow23 Posted January 23, 2014 Share Posted January 23, 2014 (edited) Is there a Papyrus command to do this (SKSE or otherwise)? I know you could in Oblivion. Otherwise what would be the best way to get specific Actors, without actually knowing ahead of time (Followers)? Basically want to do something when you look at someone and press a button, but the someone isn't necessarily known at compile time. Edit: SKSE - Event OnCrosshairRefChange(ObjectReference ref) Edited January 23, 2014 by Scarecrow23 Link to comment Share on other sites More sharing options...
jaxonz Posted April 25, 2014 Share Posted April 25, 2014 You are on the right track with that. use something like... ObjectReference objFocus Event OnInit() RegisterForCrosshairRef() RegisterForKey(42) ; L-ShiftEndEvent Event OnCrosshairRefChange(ObjectReference ref) objFocus = Ref ;remember what we're looking atEndEvent Event OnKeyDown(Int KeyCode) If (objFocus as Actor) Debug.Trace("objFocus has the reference to the actor we're looking at when L-Shift pressed") EndIfEndEvent Link to comment Share on other sites More sharing options...
Recommended Posts