Hello,
I am working on UI modding in Warcraft III Reforged using Lua custom frames. I have already identified many frames (ConsoleUI, ResourceBarFrame, Inventory, CommandButtons, etc.). With ORIGIN_FRAME_PORTRAIT I was able to hide or move the unit portrait successfully.
The only element I still cannot handle is the Time of Day Indicator (the clock at the top). When I try to hide it with BlzFrameSetVisible or by using BlzGetFrameByName("TimeOfDayIndicator",0), the UI breaks or the frame does not respond.
I noticed that in maps like Castle Revival ARPG the author managed to remove or relocate the clock, so I believe there is a correct origin frame or method for it when working with Lua custom frames.
My question: Which frame or origin frame should be used in Lua to safely hide or move the Time of Day Indicator in Reforged, without breaking the UI?
Any guidance or examples from those who have already done this would be greatly appreciated. Thank you!
I am working on UI modding in Warcraft III Reforged using Lua custom frames. I have already identified many frames (ConsoleUI, ResourceBarFrame, Inventory, CommandButtons, etc.). With ORIGIN_FRAME_PORTRAIT I was able to hide or move the unit portrait successfully.
The only element I still cannot handle is the Time of Day Indicator (the clock at the top). When I try to hide it with BlzFrameSetVisible or by using BlzGetFrameByName("TimeOfDayIndicator",0), the UI breaks or the frame does not respond.
I noticed that in maps like Castle Revival ARPG the author managed to remove or relocate the clock, so I believe there is a correct origin frame or method for it when working with Lua custom frames.
My question: Which frame or origin frame should be used in Lua to safely hide or move the Time of Day Indicator in Reforged, without breaking the UI?
Any guidance or examples from those who have already done this would be greatly appreciated. Thank you!