Quantcast Help with Skillbar - ESOUI
Thread Tools Display Modes
02/14/15, 03:18 AM   #1
Nalaya
Join Date: Apr 2014
Posts: 4
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
  Reply With Quote
02/14/15, 06:19 AM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 853
Originally Posted by Nalaya View Post
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
__________________
@Garkin (retired from ESO)
My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, No, thank you!, ... (full list)
  Reply With Quote
02/14/15, 07:02 AM   #3
Nalaya
Join Date: Apr 2014
Posts: 4
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...

Last edited by Nalaya : 02/14/15 at 07:34 AM.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Help with Skillbar

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off