0 of 0

File information

Last updated

Original upload

Created by

KirbonatedBeverage-QuidProQuo-GaStuSage-ffann1998

Uploaded by

ffann1998

Virus scan

Safe to use

Tags for this mod

4 comments

  1. KirbonatedBeverage
    KirbonatedBeverage
    • premium
    • 71 kudos
    Locked
    Sticky
    I would recommend reimplementing this mod as it's own script instead of providing an edited version of my existing code, since implementing the change this way will break whenever I update KCP.

    You could register a uiActivated event filtered to "KCP:LevelUPFlavorText" to grab the label element that stores the flavor text, then compare to tes3.player.object.level to grab the appropriate text. This would make it so the mod will continue to work no matter what updates I make to the mod.
    1. KirbonatedBeverage
      KirbonatedBeverage
      • premium
      • 71 kudos
      Alternatively if that method doesn't work register a uiActivated event for menuLevelUp with a priority of -1(so it runs after my code runs), then manually grab the element with tes3ui.findMenu("KCP:LevelUPFlavorText").
    2. ffann1998
      ffann1998
      • member
      • 17 kudos
      Hello. Thank you for suggestion. I'm afraid it's too complicated for me, since I never worked with events. I would appreciate more detailed explanation in PM and I'll see what I can do. As a temporary solution, I will mention in description that my addon is compatible with the current version of your mod, but this may change with an update.
  2. Z0oka
    Z0oka
    • member
    • 3 kudos
    SUPER COOL! Thank you!
    1. ffann1998
      ffann1998
      • member
      • 17 kudos
      Always welcome! ^^