Hi, I've got a few blocker issues preventing me from finishing my mod that I can't seem to figure out, at all.
First of all, I'm changing it so potions heal over time. This works fine, the problem is it doesn't affect player-made potions and I don't know how to make it so it does. Any clue? Searching has oddly produced almost no results for this, which is strange because of all the mods that do this feature anyways I'd figure I'd be able to easily find documentation on player-made potions and effects.
Secondly, using SKSE I've got a system that detects when the player gains three levels and upon this awards a bonus perk point and displays a nice little message. Only issue is that this doesn't work at all. Apparently, it's because I need to hook the quest its apart of into the "story manager" somehow, but the documentation svcks on this and I'm completely lost. I've already got the script setup to detect the "level up story manager event node" but this really doesn't seem to work. I've also got my quest pointed to the Level up event. I'm guessing I need to somehow go in an add my own custom node but I can't see how or where to do this?
Thirdly, I can't get my master-skill script to work even though it worked fine before and it has me completely confused. I think I can do a workaround for this that will work (swapping out the menu event for a simple OnUpdate) so its not a big deal right now, but just curious if I'm missing something super obvious here. The intent of this script is to increase a gvar by a certain amount when the player has the perks in the script every time they open a menu, the issue is the gvar never increases except for the first one. All my properties are correct, by the way so that shouldn't be the issue.
GlobalVariable Property CPO_MasterSkillCount Autoactor Property PlayerRef AutoPerk Property CPO_HA_PERK_MajorSkills Auto Perk Property CPO_2H_PERK_MajorSkills Auto Perk Property CPO_1H_PERK_MajorSkills Auto Perk Property CPO_LA_PERK_MajorSkills Auto Perk Property CPO_AR_PERK_MajorSkills Auto Perk Property CPO_BL_PERK_MajorSkills Auto ;Minorskills used as perks belowPerk Property SteelSmithing AutoPerk Property Stealth00 AutoPerk Property NoviceLocks00 AutoPerk Property LightFingers00 AutoPerk Property Haggling00 AutoPerk Property Alchemist00 AutoPerk Property IllusionNovice00 AutoPerk Property ConjurationNovice00 AutoPerk Property DestructionNovice00 AutoPerk Property RestorationNovice00 AutoPerk Property AlterationNovice00 AutoPerk Property Enchanter00 AutoQuest Property CPO_MajorSkillQuestStages AutoBool HasHeavyArmorMajorSkillBool HasLAMajorSkillBool HasARMajorSkillBool HasBLMajorSkillBool Has2HMajorSkillBool Has1HMajorSkill;Minorskills belowBool HasSmithingMajorSkillBool HasSneakMajorSkillBool HasLockMajorSkillBool HasPickMajorSkillBool HasSpeechMajorSkillBool HasAlchMajorSkillBool HasIllusionMajorSkillBool HasConjurMajorSkillBool HasDestructMajorSkillBool HasRestorMajorSkillBool HasAlterMajorSkillBool HasEnchMajorSkillEvent OnInit() RegisterForMenu("LevelUp Menu")endEvent;NOTE: Use this function for tutorial on how to use mod!Event OnMenuOpen(String MenuName) if MenuName == "LevelUp Menu" if PlayerRef.HasPerk(CPO_HA_PERK_MajorSkills) && HasHeavyArmorMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 1) HasHeavyArmorMajorSkill = true endIf if PlayerRef.HasPerk(CPO_2H_PERK_MajorSkills) && Has2HMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 1) Has2HMajorSkill = true endIf if PlayerRef.HasPerk(CPO_1H_PERK_MajorSkills) && Has1HMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 1) Has1HMajorSkill = true endIf if PlayerRef.HasPerk(CPO_LA_PERK_MajorSkills) && HasLAMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 1) HasLAMajorSkill = true endIf if PlayerRef.HasPerk(CPO_AR_PERK_MajorSkills) && HasARMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 1) HasARMajorSkill = true endIf if PlayerRef.HasPerk(CPO_BL_PERK_MajorSkills) && HasBLMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 1) HasBLMajorSkill = true endIf ;Minor skills below, do not count twoards the full major skill amount if PlayerRef.HasPerk(SteelSmithing) && HasSmithingMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasSmithingMajorSkill = true endIf if PlayerRef.HasPerk(Stealth00) && HasSneakMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasSneakMajorSkill = true endIf if PlayerRef.HasPerk(NoviceLocks00) && HasLockMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasLockMajorSkill = true endIf if PlayerRef.HasPerk(LightFingers00) && HasPickMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasPickMajorSkill = true endIf if PlayerRef.HasPerk(Haggling00) && HasSpeechMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasSpeechMajorSkill = true endIf if PlayerRef.HasPerk(Alchemist00) && HasAlchMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasAlchMajorSkill = true endIf if PlayerRef.HasPerk(IllusionNovice00) && HasIllusionMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasIllusionMajorSkill = true endIf if PlayerRef.HasPerk(ConjurationNovice00) && HasConjurMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasConjurMajorSkill = true endIf if PlayerRef.HasPerk(DestructionNovice00) && HasDestructMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasDestructMajorSkill = true endIf if PlayerRef.HasPerk(RestorationNovice00) && HasRestorMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasRestorMajorSkill = true endIf if PlayerRef.HasPerk(AlterationNovice00) && HasAlterMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasAlterMajorSkill = true endIf if PlayerRef.HasPerk(Enchanter00) && HasEnchMajorSkill != true CPO_MasterSkillCount.SetValue((CPO_MasterSkillCount.GetValue()) + 0.5) HasEnchMajorSkill = true endIf ; Skill count check if CPO_MasterSkillCount.GetValue() >= 4.5 CPO_MajorSkillQuestStages.SetStage(10) UnregisterForMenu("LevelUp Menu") endif endifendEvent
I have a feeling its because the Openmenu event is somehow completely screwed up, so I might try and do an onupdate instead. Its attached to a quest that runs on game start.