pipdude111 Posted January 21, 2016 Share Posted January 21, 2016 Hello. I have dev experience. But, am completely new to C++. I made the simple SKSE plugin from this guide: https://github.com/xanderdunn/skaar/wiki/SKSE%3A-Getting-Started Now, I want to modify it to return a string instead of the number. But, I can't figure out how to change the return type correctly. I've included and tried using "std::string". But, I'm still getting compile errors. Any ideas on the best/easiest way to send strings back into Papyrus? Thank you. Link to comment Share on other sites More sharing options...
meh321 Posted January 22, 2016 Share Posted January 22, 2016 Try if this is working: static BSFixedString GetStringValue(StaticFunctionTag * base) { const char * result = "yay"; return BSFixedString(result); } Link to comment Share on other sites More sharing options...
pipdude111 Posted February 3, 2016 Author Share Posted February 3, 2016 Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts