• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

How can I disable the alliance window in the top menu?

Status
Not open for further replies.
Level 6
Joined
May 29, 2013
Messages
127
It wasn't possible before, but I hope that the interface functions are supported.
As a result, what I want is to shuffle players so they can't see the player order. Each of them is distinguished.
 
Level 6
Joined
May 29, 2013
Messages
127
JASS:
call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, 1), false) // "Allies" button
However, pressing hotkey (F11) will still show the window.
I am wondering if there is a way to disable the hotkey as well.

thanks!! but ran into the same problem. how can i disable the hotkey...

you can catch OSKey F11 events and display something different/hide the appropriate UI frame.

I made a trigger to press the esc key when player press F11. But it's too slow, so when you focus, you see the player order.
If anyone knows another solution, please let me know.
 
One could manipulate the Alliance Dialog with Frame natives.

The whole "AllianceDialog" itself could be scaled down to a almost unseeable thing.
BlzFrameSetScale(BlzGetFrameByName("AllianceDialog", 0), 0.0001)

You could hide the names inside Alliance Dialog.
you would have to call that with index 0 to 23
BlzFrameSetVisible(BlzGetFrameByName("PlayerNameLabel", index), false)

You could scale down the "AllianceSlot" 0 to 23
BlzFrameSetScale(BlzGetFrameByName("AllianceSlot", index), 0.0001)
 
Level 6
Joined
May 29, 2013
Messages
127
One could manipulate the Alliance Dialog with Frame natives.

The whole "AllianceDialog" itself could be scaled down to a almost unseeable thing.
BlzFrameSetScale(BlzGetFrameByName("AllianceDialog", 0), 0.0001)

You could hide the names inside Alliance Dialog.
you would have to call that with index 0 to 23
BlzFrameSetVisible(BlzGetFrameByName("PlayerNameLabel", index), false)

You could scale down the "AllianceSlot" 0 to 23
BlzFrameSetScale(BlzGetFrameByName("AllianceSlot", index), 0.0001)

Thakns!! this is what I wanted.
 
Status
Not open for further replies.
Top