I am having a very hard time understanding what is going on here and would greatly appreciate any help. I am diving into using the ZO objects for add-on development to expand my horizons. I have created an object that does exactly what I want it to do with a global reference "LibTimer". If I use the global reference everything works as intended:
No errors.
However when I try to use a local shortform such as:
Code:
local LT = LibTimer --this is at the start of the file
...
LT:Start()
I get an error about indexing a nil value. When I try to debug the issue, LT does in fact = nil. I don't know why this is not working.