• 🏆 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!

Multiboard don't hide

Status
Not open for further replies.

ABM

ABM

Level 7
Joined
Jul 13, 2005
Messages
279
  • Create MultiBoard
    • Events
    • Conditions
    • Actions
      • Set A = 0
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Set A = (A + 1)
          • Set CurrentMB[(Integer A)] = 4
          • -------- ==================== Game Stats ===================== --------
          • Multiboard - Create a multiboard with 6 columns and 10 rows, titled (Game Stats of + ((Name of (Player(A))) + ( Press ESC to Hide/Show Multiboard ) ))
          • Set Multiboard[A] = (Last created multiboard)
          • -------- ========== Remove Icons ========== --------
          • Multiboard - Set the display style for Multiboard[A] item in column 0, row 0 to Show text and Hide icons
          • Set B = 0
          • For each (Integer B) from 1 to 10, do (Actions)
            • Loop - Actions
              • Set B = (B + 1)
              • Multiboard - Set the width for Multiboard[A] item in column 1, row B to 6.50% of the total screen width
              • Multiboard - Set the width for Multiboard[A] item in column 2, row B to 5.00% of the total screen width
              • Multiboard - Set the width for Multiboard[A] item in column 3, row B to 6.50% of the total screen width
              • Multiboard - Set the width for Multiboard[A] item in column 4, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[A] item in column 5, row B to 8.00% of the total screen width
              • Multiboard - Set the width for Multiboard[A] item in column 6, row B to 5.00% of the total screen width
          • Multiboard - Show Multiboard[A]
          • Multiboard - Hide Multiboard[A]
          • -------- ==================== Perks Multiboard 1 ===================== --------
          • Multiboard - Create a multiboard with 8 columns and 8 rows, titled (Perks of + ((Name of (Player(A))) + ( Press ESC to Hide/Show Multiboard )))
          • Set Multiboard[(A + 12)] = (Last created multiboard)
          • -------- ========== Remove Icons ========== --------
          • Multiboard - Set the display style for Multiboard[(A + 12)] item in column 0, row 0 to Show text and Hide icons
          • Set B = 0
          • For each (Integer B) from 1 to 8, do (Actions)
            • Loop - Actions
              • Set B = (B + 1)
              • Multiboard - Set the width for Multiboard[(A + 12)] item in column 1, row B to 9.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 12)] item in column 2, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 12)] item in column 3, row B to 11.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 12)] item in column 4, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 12)] item in column 5, row B to 10.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 12)] item in column 6, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 12)] item in column 7, row B to 10.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 12)] item in column 8, row B to 3.00% of the total screen width
          • Multiboard - Show Multiboard[(A + 12)]
          • Multiboard - Hide Multiboard[(A + 12)]
          • -------- ==================== Kills ===================== --------
          • Multiboard - Create a multiboard with 13 columns and 9 rows, titled (Kills of + ((Name of (Player(A))) + ( Press ESC to Hide/Show Multiboard )))
          • Set Multiboard[(A + 24)] = (Last created multiboard)
          • -------- ========== Remove Icons ========== --------
          • Multiboard - Set the display style for Multiboard[(A + 24)] item in column 0, row 0 to Show text and Hide icons
          • Set B = 0
          • For each (Integer B) from 1 to 9, do (Actions)
            • Loop - Actions
              • Set B = (B + 1)
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 1, row B to 8.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 2, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 3, row B to 8.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 4, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 5, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 6, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 7, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 8, row B to 8.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 9, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 10, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 11, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 12, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 24)] item in column 13, row B to 3.00% of the total screen width
          • Multiboard - Show Multiboard[(A + 24)]
          • Multiboard - Hide Multiboard[(A + 24)]
          • -------- ==================== Death + Eaten ===================== --------
          • Multiboard - Create a multiboard with 6 columns and 8 rows, titled (Death/Eat of + ((Name of (Player(A))) + ( Press ESC to Hide/Show Multiboard )))
          • Set Multiboard[(A + 36)] = (Last created multiboard)
          • -------- ========== Remove Icons ========== --------
          • Multiboard - Set the display style for Multiboard[(A + 36)] item in column 0, row 0 to Show text and Hide icons
          • Set B = 0
          • For each (Integer B) from 1 to 8, do (Actions)
            • Loop - Actions
              • Set B = (B + 1)
              • Multiboard - Set the width for Multiboard[(A + 36)] item in column 1, row B to 10.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 36)] item in column 2, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 36)] item in column 3, row B to 11.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 36)] item in column 4, row B to 3.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 36)] item in column 5, row B to 10.00% of the total screen width
              • Multiboard - Set the width for Multiboard[(A + 36)] item in column 6, row B to 3.00% of the total screen width
          • Multiboard - Show Multiboard[(A + 36)]
          • Multiboard - Hide Multiboard[(A + 36)]
Hi everyone,
i have a little problem with these Multiboards.....

the trigger is runned by another trigger and create the multiboards.
4 Boards for each player (12 players),
board A should be shown to player 1, and then when he press ESC player 1 get Board B, then Board C, then Board D, then Hide all Board, then Board A again....


All Trigger with ESC works perfectly but this one trigger don't...

It should create the multiboards and then Hide all of them, but it doesn't...
when i play as player 1, it show a board for player 2 but empty (only title and style)...
where it should show no multiboard...


but as soon as i click ESC, the board return to player 1 Board A, and then each ESC click it move forward (B,C,D, hide, A again, etc..)

Why does the board doesn't hide at start game when created ??
i tried with hide multiboard only and it didn't work, so i did show multiboard and then hide multiboard but it doesn't work either....
 

ABM

ABM

Level 7
Joined
Jul 13, 2005
Messages
279
the trigger who show / hide locally work fine, it is the creation trigger wich don't hide as it should...hiding all multiboard shouldn't have nothing to do with locally....right?

but here are the other triggers... but this one work fine...i need help on the first one....
  • Show and Swap Multiboard
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
      • Player - Player 2 (Blue) skips a cinematic sequence
      • Player - Player 3 (Teal) skips a cinematic sequence
      • Player - Player 4 (Purple) skips a cinematic sequence
      • Player - Player 5 (Yellow) skips a cinematic sequence
      • Player - Player 6 (Orange) skips a cinematic sequence
      • Player - Player 7 (Green) skips a cinematic sequence
      • Player - Player 8 (Pink) skips a cinematic sequence
      • Player - Player 9 (Gray) skips a cinematic sequence
      • Player - Player 10 (Light Blue) skips a cinematic sequence
      • Player - Player 11 (Dark Green) skips a cinematic sequence
      • Player - Player 12 (Brown) skips a cinematic sequence
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MultiboardShow[(Player number of (Triggering player))] Equal to False
        • Then - Actions
          • Game - Display to (All players) for 5.00 seconds the text: (Multiboard is on for player + (String((Player number of (Triggering player)))))
          • Set MultiboardShow[(Player number of (Triggering player))] = True
          • Set CurrentMB[(Player number of (Triggering player))] = 1
          • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
          • Custom script: call MultiboardDisplay(udg_Multiboard[1+GetPlayerId(GetTriggerPlayer())], true)
          • Custom script: endif
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • CurrentMB[(Player number of (Triggering player))] Equal to 4
            • Then - Actions
              • Game - Display to (All players) for 5.00 seconds the text: (Multiboard is off for player + (String((Player number of (Triggering player)))))
              • Set MultiboardShow[(Player number of (Triggering player))] = False
              • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
              • Custom script: call MultiboardDisplay(udg_Multiboard[37+GetPlayerId(GetTriggerPlayer())], false)
              • Custom script: endif
            • Else - Actions
              • Set CurrentMB[(Player number of (Triggering player))] = (CurrentMB[(Player number of (Triggering player))] + 1)
              • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
              • Custom script: call MultiboardDisplay(udg_Multiboard[12*(udg_CurrentMB[GetPlayerId(GetTriggerPlayer())+1]-1)-11+GetPlayerId(GetTriggerPlayer())], false)
              • Custom script: call MultiboardDisplay(udg_Multiboard[12*udg_CurrentMB[GetPlayerId(GetTriggerPlayer())+1]-11+GetPlayerId(GetTriggerPlayer())], true)
              • Custom script: endif
 

ABM

ABM

Level 7
Joined
Jul 13, 2005
Messages
279
well strangely, minimizing/maximizing don't change anything.....
hum... well maybe it the way multiboard do... they don't like to hide when created...


but after they hide correctly (with the skip trigger), maybe it is a GUI bug ?
 
Status
Not open for further replies.
Top