Kentoss Posted September 9, 2012 Share Posted September 9, 2012 So I've been messing around with basic mod concepts and I've run into a lot of problems that I've managed to work around with fair ease. One problem I cannot figure out with scripting is how to get the name of an NPC as a string. I've been doing a lot of reading and research, and it's possible the answer is staring me in the face and I just haven't seen it, but as far as I can tell, there's no easy way to get the name of an NPC (without SKSE). I read about using aliases, but I'm not entirely sure how that works, because I'm trying to get the name of an actor outside of a quest with a magic spell. Obviously with SKSE it's as easy as using the GetName() function, and I'm quite surprised that CK doesn't have this functionality built right in. I would like to stay independent of SKSE though, because of how simple the mod I have in mind is, I wouldn't want there to be any prerequisites. Additionally, is there somewhere I can go to read about good mod practices? I fear that the way I have set my mod up currently would have problems with things like save game bloating, or not properly uninstalling. I think I would like to be able to run a script after the mod has been uninstalled that cleans up anything it leaves behind, so that people who have a problem with the mod for whatever reason can safely uninstall it and not worry about things left in their game they may no longer wish to have. Thanks in advanced! Link to comment Share on other sites More sharing options...
Cipscis Posted September 10, 2012 Share Posted September 10, 2012 It's generally a good rule of thumb that if something has been implemented by SKSE it isn't possible in vanilla. The wiki has some good information you might find useful. Take a look at this page in particular: Save File Notes (Papyrus) Cipscis Link to comment Share on other sites More sharing options...
Recommended Posts