• 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.

[Trigger] [Unsolved] Hide/Show Multiboard

Status
Not open for further replies.
Level 28
Joined
Jan 26, 2007
Messages
4,789
Hi,

Story leading to the problem:
I was creating my own system to show equipment in a multiboard (since I will only create the base items, the enhancing/enchanting will happen via triggers).
Since there aren't going to be real items that the hero carries, I need to add the description in several multiboards.

So I have tried creating a trigger that shows/hides multiboards when Esc is pressed.

Problem:
Now, the problem is that the current multiboard will hide, but the new multiboard won't show up.

This is the trigger:

  • Change Multiboard
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MultiboardShown[1] Equal to True
        • Then - Actions
          • Game - Display to (All players) for 30.00 seconds the text: 1
          • Multiboard - Minimize Multiboard[1]
          • Multiboard - Hide all multiboards
          • Wait 0.50 seconds
          • Multiboard - Show Multiboard[2]
          • Multiboard - Minimize Multiboard[2]
          • Set MultiboardShown[1] = False
          • Set MultiboardShown[2] = True
          • Skip remaining actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MultiboardShown[2] Equal to True
        • Then - Actions
          • Game - Display to (All players) for 30.00 seconds the text: 2
          • Multiboard - Minimize Multiboard[2]
          • Multiboard - Hide all multiboards
          • Wait 0.50 seconds
          • Multiboard - Show Multiboard[1]
          • Multiboard - Minimize Multiboard[1]
          • Set MultiboardShown[1] = True
          • Set MultiboardShown[2] = False
          • Skip remaining actions
        • Else - Actions
I have added the text to see whether the command is given.
The message pops up, but the new multiboard won't show up.


  • Multiboard 1 and 2 have been set to different multiboards (I am sure of this)
  • MultiboardShown[1] is initially set to true, MultiboardShown[2] to false.
  • The wait-action is set because I wanted to make sure the hide doesn't override the show multiboard-action.
  • It's for a single-player map, so I only need Red's event.



If multiboard[1] is shown, MultiboardShown[1] will be set to true and [2] to false.
If I press ESC, Multiboard[1] will hide, but [2] won't show.


I don't have a lot of experience with changing between different multiboards.

Thanks in advance,
ap0calypse
 
Status
Not open for further replies.
Top