Originally Posted by Fizzlemizz
The db being referred to is a saved variables table setup using AceDB. Strip off everything before the last dot and pretend like it's a simple variable.
Code:
max = AMine.db.profile.actionCnt
Code:
local actionCnt = 10
selectAction ={
...
max = actionCnt
...
}
|
max = actionCnt doesn't throw an error so thats good, but it doesn't set max either. in the db actionCnt is 19 but max is set to 100 (default). I put a print (actionCnt) in the get function and I get a nil value error. but a print(AMine.db.profile.actionCnt) yields a proper 19