nakano15 Posted January 8, 2022 Share Posted January 8, 2022 So, I made a mod that increases the player status based on which skill has just increased in level and their tree position, so, for example, if you increase One Handed combat skill, you gain bonus in health.The issue I'm having is, the script is only firing once after a skill levels up. If I get another level on any skill, the script doesn't runs again. I have no idea what is going on, and that's the only thing that is stopping my mod from working as intended. Someone has any idea of why that is happening? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted January 8, 2022 Share Posted January 8, 2022 No idea without seeing the script in question. Please post the script code and one or more of us may be able to assist. Also be prepared to share screenshots of your records in the Creation Kit if requested. Link to comment Share on other sites More sharing options...
rkkn Posted January 9, 2022 Share Posted January 9, 2022 best guess is that it adds an ability, and the ability is never removed afterwards and thus can't be re-addedbut yeah, there is no way to know without seeing the setup Link to comment Share on other sites More sharing options...
Evangela Posted January 9, 2022 Share Posted January 9, 2022 The script needs to call Stop() and the quest cannot have "run once" checked. Alittle heads up about this event: It only cares about first skill increase. Subsequent skill increases don't cause the event to fire consecutively. In other words, if you gain 3 skill increases at once the event fires only once. Link to comment Share on other sites More sharing options...
nakano15 Posted January 9, 2022 Author Share Posted January 9, 2022 The script needs to call Stop() and the quest cannot have "run once" checked. Alittle heads up about this event: It only cares about first skill increase. Subsequent skill increases don't cause the event to fire consecutively. In other words, if you gain 3 skill increases at once the event fires only once.The second paragraph is actually the problem I had. I managed to solve it by making so when the Skill Increase event happens, it tells the game to update the script every 5 seconds, so now the script is working. But of course, I had to rework the entire script to work with this, but at least it works. It's really dumb that event only fires once, and it's bizarre that the creation kit site doesn't tells that. Link to comment Share on other sites More sharing options...
Evangela Posted January 9, 2022 Share Posted January 9, 2022 (edited) Oh? There's a note about that on the OnStoryIncreaseSkill which was put there long long time ago. https://www.creationkit.com/index.php?title=OnStoryIncreaseSkill_-_Quest Edited January 9, 2022 by Rasikko Link to comment Share on other sites More sharing options...
nakano15 Posted January 10, 2022 Author Share Posted January 10, 2022 I guess I misinterpreted that then. I thought was like the case of "You jumped from Speech Level 15 to Speech Level 18". Link to comment Share on other sites More sharing options...
Recommended Posts