The Gold Road Chapter – which includes the Scribing system – and Update 42 is now available to test on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/discussion/656454/
Maintenance for the week of April 15:
• [COMPLETE] ESO Store and Account System for maintenance – April 16, 8:00AM EDT (12:00 UTC) - 6:00PM EDT (22:00 UTC)

Any API Events for Keep Upgrades?

Enodoc
Enodoc
✭✭✭✭✭
✭✭✭✭✭
@ZOS_BrianWheeler @ZOS_ChipHilseberg I was wondering whether there are any API events which fire when a Keep or Resource loses or gains an Upgrade Level. With the number of upgrade levels reducing from 5 each to 2 and 1 respectively, plus the re-addition of Degrade, Upgrades overall will become more meaningful, so it would be useful if that could be captured.

Does such an event exist already, or could it be added if not? Thanks!
UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995
Join us on Discord - discord.gg/uesp
  • Enodoc
    Enodoc
    ✭✭✭✭✭
    ✭✭✭✭✭
    Here are some of the things that would be useful returns from such an event:
    • integer keepId (so you know what keep has changed)
    • #KeepResourceType resourceType (so you know what resource has changed, if a keep)
    • #KeepUpgradePath upgradePath (so you know whether Production or Defence has changed, if a resource)
    • number oldLevel
    • number newLevel (so you know whether the level is going up or down)


    Looking at the existing functions (GetKeepResourceInfo, GetKeepUpgradeInfo, GetKeepResourceLevel, GetKeepProductionLevel, GetKeepDefensiveLevel), it may be easier to work with if this were two separate events, one for keep resource levels, and one for resource upgrade levels, so the events could be something like:
    • EVENT_KEEP_RESOURCE_LEVEL_CHANGED(eventCode, keepId, battlegroundContext, resourceType, oldResourceLevel, newResourceLevel)
    • EVENT_KEEP_UPGRADE_LEVEL_CHANGED(eventCode, keepId, battlegroundContext, upgradePath, oldUpgradeLevel, newUpgradeLevel)
    Edited by Enodoc on July 12, 2018 4:47PM
    UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995
    Join us on Discord - discord.gg/uesp
Sign In or Register to comment.