UrsaTeddy
May 11th, 2020, 04:12
Hi,
working on some extensions here and I noted that, although it is straight forward to grab a single Derived Statistic using DerivedStatManager.getDerivedStat("nameofstat") and get information about it involving names and so forth, I do not seem to be able to set the particular stat to visible/invisible easily.
Currently I Add/Remove the derived statistic in question using registerDerivedStat and unregisterDerivedStat as a work around, however I would much prefer to simply set its visibility to on/off.
This is currently triggered from a Settings Option which has On/Off as its options.
Any ideas?
Thanks,
D
working on some extensions here and I noted that, although it is straight forward to grab a single Derived Statistic using DerivedStatManager.getDerivedStat("nameofstat") and get information about it involving names and so forth, I do not seem to be able to set the particular stat to visible/invisible easily.
Currently I Add/Remove the derived statistic in question using registerDerivedStat and unregisterDerivedStat as a work around, however I would much prefer to simply set its visibility to on/off.
This is currently triggered from a Settings Option which has On/Off as its options.
Any ideas?
Thanks,
D