• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

unable to resize "ConsoleUIBackdrop" if playing in Online game.

Level 11
Joined
Sep 27, 2016
Messages
151
I made a simple custom UI for my map..

then i hide the default UI with:
JASS:
    // ===========================
    // Hide default UI
    // ===========================
    call BlzFrameSetSize(BlzGetFrameByName("ConsoleUIBackdrop",0), 0, 0.0001)
    call BlzFrameSetAbsPoint(BlzGetFrameByName("ConsoleUI", 0), FRAMEPOINT_TOPLEFT, 0.0, 0.633)

    call BlzFrameSetAlpha(BlzGetFrameByName("SimpleInventoryCover", 0), 0)
    call BlzFrameSetScale(BlzGetFrameByName("InventoryText", 0), 0.0001)
    call BlzFrameSetVisible(BlzFrameGetChild(BlzGetFrameByName("ConsoleUI", 0), 7), false)
    call BlzFrameSetVisible(BlzFrameGetChild(BlzFrameGetChild(BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0), 5),0), false)

    call BlzFrameSetVisible(BlzGetFrameByName("ResourceBarFrame",0), false)
    call BlzFrameSetVisible(BlzGetFrameByName("UpperButtonBarFrame",0), false)
    call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_HERO_BAR,0), false)
    call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_PORTRAIT, 0), false)

    // ===========================
    // Re-arrange Message and Buff Bar UI
    // ===========================

    call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_CHAT_MSG, 0), FRAMEPOINT_TOPLEFT, -0.100212, 0.302800)
    call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_CHAT_MSG, 0), FRAMEPOINT_BOTTOMRIGHT, 0.300212, 0.100300)
    call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_UNIT_MSG, 0), FRAMEPOINT_TOPLEFT, 0.000212200, 0.402800)
    call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_UNIT_MSG, 0), FRAMEPOINT_BOTTOMRIGHT, 0.400212, 0.3000)
    call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_UNIT_PANEL_BUFF_BAR, 0), FRAMEPOINT_TOPLEFT, 0.364600, 0.0680800)
    call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_UNIT_PANEL_BUFF_BAR, 0), FRAMEPOINT_BOTTOMRIGHT, 0.476200, 0.0547800)

Everything works fine until i login to Battle.net.

Test without login to Battle.net.
- everything is worked fine..

Test with login to Battle.net.
  • HERO BUTTON is hidden (work) but HERO INDICATOR still exist (doesn't work: which is i need it to be hidden).
  • Default UI is still shown up (doesn't work: which is i need it to be hidden).

WC3ScrnShot_090624_215414_000.png


How i fix this problem? maybe there's an alternative way to hide the default UI and hero indicator (i marked it with red highlight)?
 
Top