View Single Post
02/14/15, 06:19 AM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
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
  Reply With Quote