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

Multiboard Problem {not showing properly for all players}

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
927
My mutliboard is complete, I tried it playing on multiplayer but then
it did not show to the other player, it only showed up on me, if any of you know the problem here please help :)
 
Level 11
Joined
Jul 9, 2009
Messages
927
the multiboard will show up when a unit enters a region
  • Create Multiboard
    • Events
      • Unit - A unit enters Starting Region <gen>
    • Conditions
    • Actions
      • Set Player_Count = (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))))
      • Multiboard - Create a multiboard with 5 columns and (1 + Player_Count) rows, titled Character Status
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Level
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Health
      • Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Stamina
      • -------- Now set the fields for the first row, AND our player rows. --------
      • For each (Integer A) from 1 to (1 + Player_Count), do (Actions)
        • Loop - Actions
          • Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Show icons
          • Multiboard - Set the display style for (Last created multiboard) item in column 2, row (Integer A) to Show text and Hide icons
          • Multiboard - Set the display style for (Last created multiboard) item in column 3, row (Integer A) to Show text and Hide icons
          • Multiboard - Set the display style for (Last created multiboard) item in column 4, row (Integer A) to Show text and Hide icons
          • Multiboard - Set the display style for (Last created multiboard) item in column 5, row (Integer A) to Show text and Hide icons
          • Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 2.00% of the total screen width
          • Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 4.75% of the total screen width
          • Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 5.00% of the total screen width
          • Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 5.00% of the total screen width
      • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • (Player 1 (Red) slot status) Equal to Is playing
        • Then - Actions
          • Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching ((((Unit-type of (Matching unit)) Equal to Samurai) or ((Unit-type of (Matching unit)) Equal to Headhunter)) or (((Unit-type of (Matching unit)) Equal to Dual Blade Wielder) or ((Unit-type of (Matching unit)) Equal to B and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • (Unit-type of (Picked unit)) Equal to Samurai
                      • (Unit-type of (Picked unit)) Equal to Headhunter
                • Then - Actions
                  • Multiboard - Set the icon for (Last created multiboard) item in column 1, row 2 to ReplaceableTextures\CommandButtons\BTNHeroBlademaster.blp
                • Else - Actions
                  • Multiboard - Set the icon for (Last created multiboard) item in column 1, row 2 to ReplaceableTextures\CommandButtons\BTNHeroDemonHunter.blp
              • Multiboard - Set the text for HeroMulti item in column 3, row 2 to ((String((Percentage life of (Picked unit)), 4, 1)) + %)
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to ((String((Level of (Picked unit)))) + <Empty String>)
              • Multiboard - Set the text for (Last created multiboard) item in column 4, row 2 to (String((Percentage mana of (Picked unit))))
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • (Player 2 (Blue) slot status) Equal to Is playing
        • Then - Actions
          • Unit Group - Pick every unit in (Units owned by Player 2 (Blue) matching ((((Unit-type of (Matching unit)) Equal to Samurai) or ((Unit-type of (Matching unit)) Equal to Headhunter)) or (((Unit-type of (Matching unit)) Equal to Dual Blade Wielder) or ((Unit-type of (Matching unit)) Equal to and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • (Unit-type of (Picked unit)) Equal to Samurai
                      • (Unit-type of (Picked unit)) Equal to Headhunter
                • Then - Actions
                  • Multiboard - Set the icon for (Last created multiboard) item in column 1, row 3 to ReplaceableTextures\CommandButtons\BTNHeroBlademaster.blp
                • Else - Actions
                  • Multiboard - Set the icon for (Last created multiboard) item in column 1, row 3 to ReplaceableTextures\CommandButtons\BTNHeroDemonHunter.blp
                  • Multiboard - Set the text for HeroMulti item in column 3, row 3 to ((String((Percentage life of (Picked unit)), 4, 1)) + %)
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to ((String((Level of (Picked unit)))) + <Empty String>)
              • Multiboard - Set the text for (Last created multiboard) item in column 4, row 3 to (String((Percentage mana of (Picked unit))))
        • Else - Actions
      • Set HeroMulti = (Last created multiboard)
      • Multiboard - Show (Last created multiboard)
      • Trigger - Turn on Loop <gen>
      • Trigger - Turn off (This trigger)
I Think that the problem is, only the owner of the guy who entered the region will see the multiboard. is there anyway to fix that?
 
Level 11
Joined
Jul 9, 2009
Messages
927
Fixed it :) thanks pharaoh for giving attention to the thread, ill give you rep when I am able :)
 
Status
Not open for further replies.
Top