ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   How to get a Skill Level (https://www.esoui.com/forums/showthread.php?t=8346)

Baumkuchen3 02/17/19 10:22 AM

How to get a Skill Level
 
1.
I want to check the level/height of a specific Dark Brotherhood skill.
But I don't know how to get a skill level at all.

2.

Is there a list of all of all Skills Names/Indexes in the Addon API?

Baertram 02/17/19 01:42 PM

Search the API txt file for "ability". There are functions which will return the rank.
TXT files for each API version: https://wiki.esoui.com/APIVersion

Baumkuchen3 02/20/19 12:14 PM

I tried it with "GetAbilityInfoByIndex(AbilityID)" to get the current level of "Swiftly Forgotten" ... but with the AbilityID 76454 (or 76455, 76456, 76457) the return is null ... even though I've learned that.

Code:

local s_name, s_texture, n_rank, n_actionSlotType, b_passive, b_showInSpellbook = GetAbilityInfoByIndex(76454)

I've got the AbilityID's from this site


All times are GMT -6. The time now is 11:30 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI