#Custom Options Adaptation
4 messages · Page 1 of 1 (latest)
some problems i noticed:
- init action is doing nothing as it's set to local and not being used in anything.
- dropdown custom option doesn't return string, it returns order number. for example if you have Legion selected as expansion then aura_env.config.type won't return "Legion", it will return 3 cuz it's 3rd in the list.
you can fix that part like this:
init action
aura_env.typeTable = {
1, --Garrison
2, --Shipyard
4, --Legion
22, --BFA
123, --Shadowlands
}
custom trigger:
local FOLLOWER_TYPE = aura_env.typeTable[aura_env.config.type]
i can't comment on if the rest of the code needs anything else as i've not played much with garrisons.