ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Help with Skillbar (https://www.esoui.com/forums/showthread.php?t=4296)

Nalaya 02/14/15 03:18 AM

Help with Skillbar
 
Hello guys,

Your Wiki is great but im missing descriptions for what the functions do. Is there already such a side or are you planning to add this? For example "GetAbilityInfoByIndex" =)

Or my base problem is just: How to empty the skillbar?

Thanks =D

Garkin 02/14/15 06:19 AM

Quote:

Originally Posted by Nalaya (Post 18821)
Hello guys,

Your Wiki is great but im missing descriptions for what the functions do. Is there already such a side or are you planning to add this? For example "GetAbilityInfoByIndex" =)

Or my base problem is just: How to empty the skillbar?

Thanks =D

Lua Code:
  1. for slotIndex = 3, 8 do
  2.     CallSecureProtected("ClearSlot", slotIndex)
  3. end

Or if you want support for ESO Launcher users, you can do something like:
Lua Code:
  1. if IsProtectedFunction("ClearSlot") then
  2.     for slotIndex = 3, 8 do
  3.         CallSecureProtected("ClearSlot", slotIndex)
  4.     end
  5. else
  6.     for slotIndex = 3, 8 do
  7.         ClearSlot(slotIndex)
  8.     end
  9. end



ESOUIDocumentationP5.txt - attached to this post
ESOUIDocumentationP6.txt - attached to this post

Nalaya 02/14/15 07:02 AM

That helped, great, thank you!

If you don't mind another question: Is there an easy function to get all info from a skill in a given slot? I thought "GetAbilityInfoByIndex" would do this but its response is a bit confusing...


All times are GMT -6. The time now is 05:18 PM.

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