Nexusmodsaccountno2 Posted January 9, 2019 Share Posted January 9, 2019 Is it possible to get the Ref In a script of the activated reference that the player is activating. (Pretty much the opposite of getactionref) For example the player talks to an NPC by pressing the use key and "activating" (is talking considered activating?) them, can you get that NPCs reference in a script (and then do something with that ref) Trying to set up a system where the player could heal an NPC by using/talking to them. There is the cannibal perk where you can activate dead bodies but the result of that script is to affect the player while I want to affect the thing the player is interacting with. Pretty sure this is impossible right? Link to comment Share on other sites More sharing options...
Radioactivelad Posted January 9, 2019 Share Posted January 9, 2019 (edited) I think you want GetRef? I use it for the examine texts in my quest mod, calling a different corner message depending on the Reference ID of the activated object. It only works on Persistent Refs though, so it's not a blanket solution. Edited January 9, 2019 by Radioactivelad Link to comment Share on other sites More sharing options...
Nexusmodsaccountno2 Posted January 10, 2019 Author Share Posted January 10, 2019 If it only works on persistent refs then it probably won't work on the random ncr trooper you might want to heal. Was pretty sure there was no way of getting the activator (or is that activatee?;) ref but thanks mightily for the confirmation. It means I can move onto other possible solutions. Link to comment Share on other sites More sharing options...
Recommended Posts