View Single Post
08-02-14, 09:53 AM   #28
Sjak
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 13
Originally Posted by Kygo View Post
The "BUFF_HEIGHT" is giving a nil value error. The whole error is here > http://pastebin.com/Hmfre6RX (its to long to post here)
Never encountered a error like this so I don't really know what to do to fix it, did open oUF\elements\aura.lua as stated in the error to see if I can make any sense but it didn't.

Had to swap out your "self" into frame because I don't have "self" defined anywhere.
Full code updated today is found here > http://pastebin.com/pkVwFrn5

By the looks of the code it seems to be way out of my knowledge
BUFF_HEIGHT is giving a nil value because it's defined as a local in the spawn function so it won't be accessible inside of other functions. If you move it out of the spawn function to the top of the file then it should work fine.

"Self" doesn't need to be defined because it's a parameter of the function. I'm not great at explaining things so it's probably best just to read this to understand why you use "self".
  Reply With Quote