PDA

View Full Version : widget.setEnabled() going away in FGU?



celestian
April 20th, 2020, 20:09
I recently started using .setEnable(false) on widget (specifically on the one for init) so that I could "remove" the hitbox that the widget creates. I noticed today when I logged into FGU it complained about this.


[4/20/2020 1:58:00 PM] FGU v4.0.0 ULTIMATE (2020-04-17)
[4/20/2020 2:07:08 PM] [<color="red">ERROR</color>] Script execution error: [string "scripts/manager_combat_adnd.lua"]:225: attempt to call field 'setEnabled' (a nil value)

Works in in FGC today.

celestian
April 28th, 2020, 15:12
I recently started using .setEnable(false) on widget (specifically on the one for init) so that I could "remove" the hitbox that the widget creates. I noticed today when I logged into FGU it complained about this.


[4/20/2020 1:58:00 PM] FGU v4.0.0 ULTIMATE (2020-04-17)
[4/20/2020 2:07:08 PM] [<color="red">ERROR</color>] Script execution error: [string "scripts/manager_combat_adnd.lua"]:225: attempt to call field 'setEnabled' (a nil value)

Works in in FGC today.

Touching on this again, still getting this error. Just need to know if it's something I should remove or if it's going to be added?

celestian
August 21st, 2020, 18:15
I recently started using .setEnable(false) on widget (specifically on the one for init) so that I could "remove" the hitbox that the widget creates. I noticed today when I logged into FGU it complained about this.


[4/20/2020 1:58:00 PM] FGU v4.0.0 ULTIMATE (2020-04-17)
[4/20/2020 2:07:08 PM] [<color="red">ERROR</color>] Script execution error: [string "scripts/manager_combat_adnd.lua"]:225: attempt to call field 'setEnabled' (a nil value)

Works in in FGC today.

So this doesn't get lost, bumping this topic.

celestian
September 2nd, 2020, 16:17
This was resolved (FGU updated to support this).