Hello there.
I recently introduced a non-hero worker in my map, that has a Custom UI made with the invaluable help and knowledge from @Tasyen .
As many of you working with custom UI know, you can hide the black backdrop behind the basic bottom frame, but that still leaves the zone unclickable because we cannot access the transparent frame responsible.
The common workaround is moving the bottom of the ConsoleUI off screen with a command like this :
The reason is that the origin frame Console UI is a parent of that problematic inaccessible frame.
There are side effects with moving this ConsoleUI, including problems with the ORIGIN_FRAME_UNIT_MSG that handles all the messages displayed to players. I am currently trying to move this message frame without crashing threads with debug messages, and I hope it will en up working.
Now there is a side effect I have not encountered yet, because I did not use the feature :
Adding a non-hero worker unit to my map, I discovered as expected, that the inactive worker icon was also a child of the Console UI frame, like most frames in the game interface, so moving the bottom of Console UI off screen also hides the worker icon.
The problem is I have not found a way to access this worker icon frame to reposition it.
So my question is :
- Is it possible to move this worker icon frame back into view, or is the only way to display an icon for the inactive workers using custom frames ?
I recently introduced a non-hero worker in my map, that has a Custom UI made with the invaluable help and knowledge from @Tasyen .
As many of you working with custom UI know, you can hide the black backdrop behind the basic bottom frame, but that still leaves the zone unclickable because we cannot access the transparent frame responsible.
The common workaround is moving the bottom of the ConsoleUI off screen with a command like this :
Lua:
BlzFrameSetAbsPoint(BlzGetFrameByName("ConsoleUI", 0), BOTTOM, 0.0, -0.24)
There are side effects with moving this ConsoleUI, including problems with the ORIGIN_FRAME_UNIT_MSG that handles all the messages displayed to players. I am currently trying to move this message frame without crashing threads with debug messages, and I hope it will en up working.
Now there is a side effect I have not encountered yet, because I did not use the feature :
Adding a non-hero worker unit to my map, I discovered as expected, that the inactive worker icon was also a child of the Console UI frame, like most frames in the game interface, so moving the bottom of Console UI off screen also hides the worker icon.
The problem is I have not found a way to access this worker icon frame to reposition it.
So my question is :
- Is it possible to move this worker icon frame back into view, or is the only way to display an icon for the inactive workers using custom frames ?