craynaar Posted November 7, 2023 Share Posted November 7, 2023 I want to add an event listener that runs code when the player harvests an item, be it hanging moss, a plant, mushrooms, ect. I'm following this template: https://github.com/SkyrimScripting/SKSE_Template_GameEvents and when I change the code in plugin.cpp to look like this: https://pastebin.com/36UganYW (basicaly all I did was use the Harvested Event.)but. it doesn't want to compile. I'm able to use any other event template except this one.I could do a work around and use activation event listener and then determine if the player is "activating" with a flora object but that's just so.. inefficient.. and gross.. I would have to run a check every single time there's an activation, and I've run a logger, that event runs even if you're not "activating" something. This is my first time trying to create a Skyrim mod. Any suggestion would be appreciated. If I have no choice but to do it the inefficient way than so be it, but I'd rather do it the clean way if such an option exists. Link to comment Share on other sites More sharing options...
Recommended Posts