#Custom Options Adaptation

4 messages · Page 1 of 1 (latest)

limpid bluff
#

my issue with Legion and shadowlands not return ids of missions

tidal mirage
#

some problems i noticed:

  1. init action is doing nothing as it's set to local and not being used in anything.
  2. 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.

limpid bluff
#

Thanks for help

#

now i want to apply on custom setting like this, what i need to do?