AlimAge Posted October 9, 2023 Share Posted October 9, 2023 Is there any "Condition function" that determines what level a legendary skill is?I want to create a skill that is only available if you have level 100 of this tree or level 1 or higher legendary. Link to comment Share on other sites More sharing options...
AlimAge Posted October 9, 2023 Author Share Posted October 9, 2023 Global variable maybe? Anything? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted October 10, 2023 Share Posted October 10, 2023 No condition functions that I know of. Unless the condition function GetActorValue would be of use. With SKSE, Papyrus has ActorValueInfo.GetActorValueInfoByName(actorValue).GetSkillLegendaryLevel() which could be used as follows: If ActorValueInfo.GetActorValueInfoByName("Sneaking").GetSkillLegendaryLevel() != -1 ;skill is legendary or capable of being made legendary Else ;skill cannot be legendary at this time EndIf If necessary, the above could be used to check a skill's legendary level and then set a global variable to a specific value that you could then use in your condition. To trigger a check, the story manager could be used with OnStoryIncreaseSkill. Link to comment Share on other sites More sharing options...
AlimAge Posted October 10, 2023 Author Share Posted October 10, 2023 No condition functions that I know of. Unless the condition function GetActorValue would be of use. With SKSE, Papyrus has ActorValueInfo.GetActorValueInfoByName(actorValue).GetSkillLegendaryLevel() which could be used as follows: If ActorValueInfo.GetActorValueInfoByName("Sneaking").GetSkillLegendaryLevel() != -1 ;skill is legendary or capable of being made legendary Else ;skill cannot be legendary at this time EndIf If necessary, the above could be used to check a skill's legendary level and then set a global variable to a specific value that you could then use in your condition. To trigger a check, the story manager could be used with OnStoryIncreaseSkill.thanks, i'll try this Link to comment Share on other sites More sharing options...
Recommended Posts