• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Detect when multiboard is maximized/minimized?

Status
Not open for further replies.
Level 9
Joined
Apr 19, 2011
Messages
447
Hi.

I want to know if there's any way to detect a player maximizing or minimizing a multiboard. Actually, my proyect is for single player, and I will use a multiboard as some kind of "menu". It would be nice if I could pause the game when this multiboard is maximized, and unpause it when it's minimized.
Is it possible?

Regards
 
There is JASS native
JASS:
native IsMultiboardMinimized            takes multiboard lb returns boolean
you can try it
there is GUI equivalent of it as well
if -
  • Untitled Trigger 001
    • Events
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Last created multiboard) is minimized) Equal to True
        • Then - Actions
        • Else - Actions
or you can try
JASS:
native IsMultiboardDisplayed            takes multiboard lb returns boolean
which is
  • Untitled Trigger 001
    • Events
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Last created multiboard) is showing) Equal to True
        • Then - Actions
        • Else - Actions
idk which one will work better tho
Hope it Helps.
 
Status
Not open for further replies.
Back
Top