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

What is wrong with this Multiboard trigger??

Status
Not open for further replies.
Level 20
Joined
Jan 6, 2008
Messages
2,627
Hello, ive never created a succesfull Multiboard, and i still couldnt, could someone tell me whats wrong?
also you get to see one of my "Smart Ini's"
The Multiboard stuff is in "Ini" and "Selection Stuff" and "Other Stuff NEEDS TO BE LAST"
  • Initalization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- Ini --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • Multiboard - Create a multiboard with MultiboardRows columns and 3 rows, titled Kills
          • Set Multiboard = (Last created multiboard)
          • -------- Visibility --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Environment - Set fog to style Linear, z-start 1000.00, z-end 8000.00, density 0.00 and color (10.00%, 12.62%, 30.00%)
          • -------- Gates --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Destructible - Open Gate (Horizontal) 1265 <gen>
      • -------- Quests --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • -------- Quest Special Effect --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Special Effect - Create a special effect attached to the overhead of Paladin 0007 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
              • Set QuestGiverFx[1] = (Last created special effect)
          • -------- Quests --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Quest - Create a Required, undiscovered quest titled King Uther's Task with the description King Uther has aske..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
              • Set Quests[1] = (Last created quest)
              • Quest - Create a quest requirement for Quests[1] with the description |c00FF8000Progress|...
              • Set QuestReq[1] = (Last created quest requirement)
      • -------- Misc / Credits --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • Quest - Create a Optional quest titled Story with the description |c00800000Human's|r..., using icon path ReplaceableTextures\CommandButtons\BTNBansheeAdept.blp
          • Quest - Create a Optional quest titled Models Credits with the description |c0000FF00Thief|r b..., using icon path ReplaceableTextures\CommandButtons\BTNArmorGolem.blp
          • Quest - Create a Optional quest titled System Credits with the description |c0000FF00Oppicam|r..., using icon path ReplaceableTextures\CommandButtons\BTNVialFull.blp
          • Quest - Create a Optional quest titled Icon Credits with the description |c0000FF00Command B..., using icon path ReplaceableTextures\CommandButtons\BTNCrystalBall.blp
      • -------- Variables --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • -------- Tips --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Set Tip_Var[1] = |c0000FF00Tip 1: |r This map was made by Wolfe Orschyte and Slaydon.
              • Set Tip_Var[2] = |c0000FF00Tip 2: |r If you need any help with the World Editor, come to [url]www.Hiveworkshop.com[/url]
              • Set Tip_Var[3] = |c0000FF00Tip 3: |r Press F9 for commands and gameplay.
              • Set Tip_Var[4] = |c0000FF00Tip 4: |r You can easily attack by pressing "R"
          • -------- Hero Variables --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Set Glow[1] = Gl0w 0020 <gen>
              • Set Glow[2] = Gl0w 0021 <gen>
              • Set Glow[3] = Gl0w 0022 <gen>
              • Set Glow[4] = Gl0w 0023 <gen>
              • Set Glow[5] = Gl0w 0024 <gen>
              • Set Glow[6] = Gl0w 0025 <gen>
          • -------- System Variables --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • -------- Camera and Movement System --------
              • For each (Integer A) from 1 to 1, do (Actions)
                • Loop - Actions
                  • Set MovementSystemTriggers[1] = Moving unit <gen>
                  • Set MovementSystemTriggers[2] = Moving With Arrows And Mana <gen>
                  • Set MovementSystemTriggers[3] = Move Forword Presses <gen>
                  • Set MovementSystemTriggers[5] = Move Forwrod Releases <gen>
                  • Set MovementSystemTriggers[6] = Lock Right Presses <gen>
                  • Set MovementSystemTriggers[7] = Lock Right Releases <gen>
                  • Set MovementSystemTriggers[8] = Lock Left Presses <gen>
                  • Set MovementSystemTriggers[9] = Lock Left Releases <gen>
                  • Set MovementSystemTriggers[10] = Lock Behind Presses <gen>
                  • Set MovementSystemTriggers[11] = Lock Behind Releases <gen>
                  • Set MovementSystemTriggers[12] = FCKeyboardPlugin <gen>
                  • Set MovementSystemTriggers[13] = TPCKeyboardPlugin <gen>
                  • Set MovementSystemTriggers[14] = ArrowKeys <gen>
                  • Set MovementSystemTriggers[15] = ThirdPersonCam <gen>
                  • Set MovementSystemTriggers[16] = FixedCam <gen>
              • -------- Damage Detection --------
              • For each (Integer A) from 1 to 1, do (Actions)
                • Loop - Actions
                  • Set DMGGroup = (Units in (Playable map area))
                  • Unit Group - Pick every unit in DMGGroup and do (Actions)
                    • Loop - Actions
                      • Trigger - Add to DMGgroup4 <gen> the event (Unit - (Picked unit) Takes damage)
                  • Custom script: call DestroyGroup (udg_DMGGroup)
      • -------- Selection Stuff --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • Set Player[1] = Player 1 (Red)
          • Set Player[2] = Player 2 (Blue)
          • Set Player[3] = Player 3 (Teal)
          • Set Player[4] = Player 4 (Purple)
          • Set Player[5] = Player 5 (Yellow)
          • Set Player[6] = Player 6 (Orange)
          • Cinematic - Fade in over 7.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
          • Cinematic - Turn cinematic mode On for (All players)
          • For each (Integer A) from 1 to 6, do (Actions)
            • Loop - Actions
              • Camera - Apply Selection Cam 1 <gen> for Player[(Integer A)] over 0.00 seconds
              • Camera - Apply Selection Cam 2 <gen> for Player[(Integer A)] over 3.00 seconds
          • For each (Integer A) from 1 to 6, do (Actions)
            • Loop - Actions
              • Set Loc = (Random point in Selection Area <gen>)
              • Unit - Create 1 Light for Player[(Integer A)] at Loc facing Default building facing degrees
              • Set Unit_Selection_Light[(Integer A)] = (Last created unit)
              • Custom script: call RemoveLocation( udg_Loc )
          • -------- Player On --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • For each (Integer A) from 1 to 1, 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
                          • (Player 1 (Red) controller) Equal to Computer
                          • (Player 1 (Red) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[1] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                      • Multiboard - Set the text for Multiboard item in column 1, row 1 to (|c00FF0000 + ((Name of Player[1]) + (|r + <Empty String>)))
                      • Multiboard - Set the text for Multiboard item in column 1, row 3 to (String(Multiboard_Kills[1]))
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 2 (Blue) controller) Equal to Computer
                          • (Player 2 (Blue) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[2] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                      • Multiboard - Set the text for Multiboard item in column 2, row 1 to (|c000000FF + ((Name of Player[2]) + (|r + <Empty String>)))
                      • Multiboard - Set the text for Multiboard item in column 2, row 3 to (String(Multiboard_Kills[2]))
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 3 (Teal) controller) Equal to Computer
                          • (Player 3 (Teal) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[3] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                      • Multiboard - Set the text for Multiboard item in column 3, row 1 to (|c0000FFFF + ((Name of Player[3]) + (|r + <Empty String>)))
                      • Multiboard - Set the text for Multiboard item in column 3, row 3 to (String(Multiboard_Kills[3]))
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 4 (Purple) controller) Equal to Computer
                          • (Player 4 (Purple) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[4] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                      • Multiboard - Set the text for Multiboard item in column 4, row 1 to (|c00400040 + ((Name of Player[4]) + (|r + <Empty String>)))
                      • Multiboard - Set the text for Multiboard item in column 4, row 3 to (String(Multiboard_Kills[4]))
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 5 (Yellow) controller) Equal to Computer
                          • (Player 5 (Yellow) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[5] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                      • Multiboard - Set the text for Multiboard item in column 5, row 1 to (|c00FFFF00 + ((Name of Player[5]) + (|r + <Empty String>)))
                      • Multiboard - Set the text for Multiboard item in column 5, row 3 to (String(Multiboard_Kills[5]))
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 6 (Orange) controller) Equal to Computer
                          • (Player 6 (Orange) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[6] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                      • Multiboard - Set the text for Multiboard item in column 6, row 1 to (|c00FF8000 + ((Name of Player[6]) + (|r + <Empty String>)))
                      • Multiboard - Set the text for Multiboard item in column 6, row 3 to (String(Multiboard_Kills[6]))
                  • Multiboard - Change the number of columns for Multiboard to MultiboardRows
      • -------- Other, NEED TO BE LAST --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • Wait 3.00 seconds
          • -------- Multiboard --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Multiboard - Show Multiboard
              • Multiboard - Maximize Multiboard
          • Cinematic - Turn cinematic mode Off for (All players)
          • Trigger - Turn on Camera <gen>
Its just to minimize them
 
Level 3
Joined
Nov 22, 2008
Messages
12
You need to do the integers like this: For every integer 1 through 4; at least I think so, anyway.

Edit: Also, you need to realize how to make the integers function correctly. Example: For Your Multi Board make a different call in the part of the trigger for each part of the trigger that is inside the parts of your trigger's functions.
 
Level 20
Joined
Jan 6, 2008
Messages
2,627
You need to do the integers like this: For every integer 1 through 4; at least I think so, anyway.

Edit: Also, you need to realize how to make the integers function correctly. Example: For Your Multi Board make a different call in the part of the trigger for each part of the trigger that is inside the parts of your trigger's functions.

didnt tell me anything:eekani:
 
Level 4
Joined
Jun 12, 2009
Messages
57
Your trigger is messy and should defiantly be divided up into several triggers. Mostly for your own convenience. First of all when you are making a multiboard you can not make it at map initialization. You need to do something along the lines of

  • Event
    • Event - Game time elapsed is 5.00 seconds.
Second of all I don't think you understand the use of
  • Action
    • For Each (Integer A) From # To # Do (Actions)
Whenever you are making your multiboard just type in the number of rows and colums you are going to have because you didn't even define the value of Multiboardrows

For your Ini part of the trigger you don't even need For Each Integer A

For your Quest part...

I think you need to check up on Arrays and how to use them... http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=20023
Because I think you are confused with them with when and when not to use them.

Under the quest part the only time you need for each integer A is the last one and you applied it wrong. It needs to be the number of rows that you want that to be displayed in.

There are more things wrong but I think you need to definately check up on some guides on making triggers, because you are confused I believe.
 
Level 4
Joined
Jun 12, 2009
Messages
57
You need to set the display style for your multiboard. It's right under one of the multiboard actions.

BTW sorry if I came across as arrogant I didn't mean to criticize I realize the tone of my text was condescending.
 
Level 20
Joined
Jan 6, 2008
Messages
2,627
i tried to edit the if the player is on trigger to this:
  • For each (Integer A) from 1 to 1, do (Actions)
    • Loop - Actions
      • For each (Integer A) from 1 to 1, 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
                  • (Player 1 (Red) controller) Equal to Computer
                  • (Player 1 (Red) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[1] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 1, row 1 to (|c00FF0000 + ((Name of Player[1]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 1, row 3 to (String(Multiboard_Kills[1]))
              • Multiboard - Set the display style for Multiboard item in column 1, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 1, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 2 (Blue) controller) Equal to Computer
                  • (Player 2 (Blue) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[2] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 2, row 1 to (|c000000FF + ((Name of Player[2]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 2, row 3 to (String(Multiboard_Kills[2]))
              • Multiboard - Set the display style for Multiboard item in column 2, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 2, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 3 (Teal) controller) Equal to Computer
                  • (Player 3 (Teal) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[3] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 3, row 1 to (|c0000FFFF + ((Name of Player[3]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 3, row 3 to (String(Multiboard_Kills[3]))
              • Multiboard - Set the display style for Multiboard item in column 3, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 3, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 4 (Purple) controller) Equal to Computer
                  • (Player 4 (Purple) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[4] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 4, row 1 to (|c00400040 + ((Name of Player[4]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 4, row 3 to (String(Multiboard_Kills[4]))
              • Multiboard - Set the display style for Multiboard item in column 4, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 4, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 5 (Yellow) controller) Equal to Computer
                  • (Player 5 (Yellow) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[5] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 5, row 1 to (|c00FFFF00 + ((Name of Player[5]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 5, row 3 to (String(Multiboard_Kills[5]))
              • Multiboard - Set the display style for Multiboard item in column 5, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 5, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 6 (Orange) controller) Equal to Computer
                  • (Player 6 (Orange) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[6] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 6, row 1 to (|c00FF8000 + ((Name of Player[6]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 6, row 3 to (String(Multiboard_Kills[6]))
              • Multiboard - Set the display style for Multiboard item in column 6, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 6, row 3 to Show text and Hide icons
  • Multiboard - Change the number of columns for Multiboard to MultiboardRows
But it only shows up as an ugly box with no text, really small
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
when you use this for map init:

  • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
or this:
  • Multiboard - Create a multiboard with MultiboardRows columns and 3 rows, titled Kills
(didn't know exactly if your last trigger was the map init trigger since you didn't paste the event :wink:)

how is it supposed to find out how much collumns it needs? I can't see Multiboardrows being set anywhere before these functions...

ofcourse the multiboard will be small if it doesn't know how much columns it has :)

it is like kongfuman said before...:

because you didn't even define the value of Multiboardrows
 
Level 20
Joined
Jan 6, 2008
Messages
2,627
... i said the Multiboardrows is set to 6, ill paste the whole trigger again with some changes..
attachment.php

Now its on systems, most of it...

  • Initalization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- Ini --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • -------- Multiboard --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Set MultiboardRows = 6
              • Multiboard - Create a multiboard with MultiboardRows columns and 3 rows, titled Kills
              • Set Multiboard = (Last created multiboard)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Player 1 (Red) controller) Equal to User
                • Then - Actions
                  • Multiboard - Set the text for Multiboard item in column 1, row 1 to (|c00FF0000 + ((Name of Player[1]) + (|r + <Empty String>)))
                  • Multiboard - Set the text for Multiboard item in column 1, row 3 to (String(Multiboard_Kills[1]))
                  • Multiboard - Set the display style for Multiboard item in column 1, row 1 to Show text and Hide icons
                  • Multiboard - Set the display style for Multiboard item in column 1, row 3 to Show text and Hide icons
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Player 2 (Blue) controller) Equal to User
                • Then - Actions
                  • Multiboard - Set the text for Multiboard item in column 2, row 1 to (|c000000FF + ((Name of Player[2]) + (|r + <Empty String>)))
                  • Multiboard - Set the text for Multiboard item in column 2, row 3 to (String(Multiboard_Kills[2]))
                  • Multiboard - Set the display style for Multiboard item in column 2, row 1 to Show text and Hide icons
                  • Multiboard - Set the display style for Multiboard item in column 2, row 3 to Show text and Hide icons
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Player 3 (Teal) controller) Equal to User
                • Then - Actions
                  • Multiboard - Set the text for Multiboard item in column 3, row 1 to (|c0000FFFF + ((Name of Player[3]) + (|r + <Empty String>)))
                  • Multiboard - Set the text for Multiboard item in column 3, row 3 to (String(Multiboard_Kills[3]))
                  • Multiboard - Set the display style for Multiboard item in column 3, row 1 to Show text and Hide icons
                  • Multiboard - Set the display style for Multiboard item in column 3, row 3 to Show text and Hide icons
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Player 4 (Purple) controller) Equal to User
                • Then - Actions
                  • Multiboard - Set the text for Multiboard item in column 4, row 1 to (|c00400040 + ((Name of Player[4]) + (|r + <Empty String>)))
                  • Multiboard - Set the text for Multiboard item in column 4, row 3 to (String(Multiboard_Kills[4]))
                  • Multiboard - Set the display style for Multiboard item in column 4, row 1 to Show text and Hide icons
                  • Multiboard - Set the display style for Multiboard item in column 4, row 3 to Show text and Hide icons
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Player 5 (Yellow) controller) Equal to User
                • Then - Actions
                  • Multiboard - Set the text for Multiboard item in column 5, row 1 to (|c00FFFF00 + ((Name of Player[5]) + (|r + <Empty String>)))
                  • Multiboard - Set the text for Multiboard item in column 5, row 3 to (String(Multiboard_Kills[5]))
                  • Multiboard - Set the display style for Multiboard item in column 5, row 1 to Show text and Hide icons
                  • Multiboard - Set the display style for Multiboard item in column 5, row 3 to Show text and Hide icons
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Player 6 (Orange) controller) Equal to User
                • Then - Actions
                  • Multiboard - Set the text for Multiboard item in column 6, row 1 to (|c00FF8000 + ((Name of Player[6]) + (|r + <Empty String>)))
                  • Multiboard - Set the text for Multiboard item in column 6, row 3 to (String(Multiboard_Kills[6]))
                  • Multiboard - Set the display style for Multiboard item in column 6, row 1 to Show text and Hide icons
                  • Multiboard - Set the display style for Multiboard item in column 6, row 3 to Show text and Hide icons
                • Else - Actions
          • -------- Visibility --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Environment - Set fog to style Linear, z-start 1000.00, z-end 8000.00, density 0.00 and color (10.00%, 12.62%, 30.00%)
          • -------- Gates --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Destructible - Open Gate (Horizontal) 1265 <gen>
      • -------- Quests --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • -------- Quest Special Effect --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Special Effect - Create a special effect attached to the overhead of Paladin 0007 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
              • Set QuestGiverFx[1] = (Last created special effect)
          • -------- Quests --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Quest - Create a Required, undiscovered quest titled King Uther's Task with the description King Uther has aske..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
              • Set Quests[1] = (Last created quest)
              • Quest - Create a quest requirement for Quests[1] with the description |c00FF8000Progress|...
              • Set QuestReq[1] = (Last created quest requirement)
      • -------- Misc / Credits --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • Quest - Create a Optional quest titled Story with the description |c00800000Human's|r..., using icon path ReplaceableTextures\CommandButtons\BTNBansheeAdept.blp
          • Quest - Create a Optional quest titled Models Credits with the description |c0000FF00Thief|r b..., using icon path ReplaceableTextures\CommandButtons\BTNArmorGolem.blp
          • Quest - Create a Optional quest titled System Credits with the description |c0000FF00Oppicam|r..., using icon path ReplaceableTextures\CommandButtons\BTNVialFull.blp
          • Quest - Create a Optional quest titled Icon Credits with the description |c0000FF00Command B..., using icon path ReplaceableTextures\CommandButtons\BTNCrystalBall.blp
      • -------- Variables --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • -------- Tips --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Set Tip_Var[1] = |c0000FF00Tip 1: |r This map was made by Wolfe Orschyte and Slaydon.
              • Set Tip_Var[2] = |c0000FF00Tip 2: |r If you need any help with the World Editor, come to [url]www.Hiveworkshop.com[/url]
              • Set Tip_Var[3] = |c0000FF00Tip 3: |r Press F9 for commands and gameplay.
              • Set Tip_Var[4] = |c0000FF00Tip 4: |r You can easily attack by pressing "R"
          • -------- Hero Variables --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Set Glow[1] = Gl0w 0020 <gen>
              • Set Glow[2] = Gl0w 0021 <gen>
              • Set Glow[3] = Gl0w 0022 <gen>
              • Set Glow[4] = Gl0w 0023 <gen>
              • Set Glow[5] = Gl0w 0024 <gen>
              • Set Glow[6] = Gl0w 0025 <gen>
          • -------- System Variables --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • -------- Camera and Movement System --------
              • For each (Integer A) from 1 to 1, do (Actions)
                • Loop - Actions
                  • Set MovementSystemTriggers[1] = Moving unit <gen>
                  • Set MovementSystemTriggers[2] = Moving With Arrows And Mana <gen>
                  • Set MovementSystemTriggers[3] = Move Forword Presses <gen>
                  • Set MovementSystemTriggers[5] = Move Forwrod Releases <gen>
                  • Set MovementSystemTriggers[6] = Lock Right Presses <gen>
                  • Set MovementSystemTriggers[7] = Lock Right Releases <gen>
                  • Set MovementSystemTriggers[8] = Lock Left Presses <gen>
                  • Set MovementSystemTriggers[9] = Lock Left Releases <gen>
                  • Set MovementSystemTriggers[10] = Lock Behind Presses <gen>
                  • Set MovementSystemTriggers[11] = Lock Behind Releases <gen>
                  • Set MovementSystemTriggers[12] = FCKeyboardPlugin <gen>
                  • Set MovementSystemTriggers[13] = TPCKeyboardPlugin <gen>
                  • Set MovementSystemTriggers[14] = ArrowKeys <gen>
                  • Set MovementSystemTriggers[15] = ThirdPersonCam <gen>
                  • Set MovementSystemTriggers[16] = FixedCam <gen>
              • -------- Damage Detection --------
              • For each (Integer A) from 1 to 1, do (Actions)
                • Loop - Actions
                  • Set DMGGroup = (Units in (Playable map area))
                  • Unit Group - Pick every unit in DMGGroup and do (Actions)
                    • Loop - Actions
                      • Trigger - Add to DMGgroup4 <gen> the event (Unit - (Picked unit) Takes damage)
                  • Custom script: call DestroyGroup (udg_DMGGroup)
          • -------- Other --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
      • -------- Selection Stuff --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • Set Player[1] = Player 1 (Red)
          • Set Player[2] = Player 2 (Blue)
          • Set Player[3] = Player 3 (Teal)
          • Set Player[4] = Player 4 (Purple)
          • Set Player[5] = Player 5 (Yellow)
          • Set Player[6] = Player 6 (Orange)
          • Cinematic - Fade in over 7.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
          • Cinematic - Turn cinematic mode On for (All players)
          • For each (Integer A) from 1 to 6, do (Actions)
            • Loop - Actions
              • Camera - Apply Selection Cam 1 <gen> for Player[(Integer A)] over 0.00 seconds
              • Camera - Apply Selection Cam 2 <gen> for Player[(Integer A)] over 3.00 seconds
          • For each (Integer A) from 1 to 6, do (Actions)
            • Loop - Actions
              • Set Loc = (Random point in Selection Area <gen>)
              • Unit - Create 1 Light for Player[(Integer A)] at Loc facing Default building facing degrees
              • Set Unit_Selection_Light[(Integer A)] = (Last created unit)
              • Custom script: call RemoveLocation( udg_Loc )
          • -------- Player On --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • For each (Integer A) from 1 to 1, 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
                          • (Player 1 (Red) controller) Equal to Computer
                          • (Player 1 (Red) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[1] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 2 (Blue) controller) Equal to Computer
                          • (Player 2 (Blue) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[2] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 3 (Teal) controller) Equal to Computer
                          • (Player 3 (Teal) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[3] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 4 (Purple) controller) Equal to Computer
                          • (Player 4 (Purple) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[4] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 5 (Yellow) controller) Equal to Computer
                          • (Player 5 (Yellow) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[5] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Player 6 (Orange) controller) Equal to Computer
                          • (Player 6 (Orange) slot status) Equal to Is unused
                    • Then - Actions
                      • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
                      • Unit - Remove Glow[6] from the game
                      • Set HeroSelected = (HeroSelected + 1)
                    • Else - Actions
                  • Multiboard - Change the number of columns for Multiboard to MultiboardRows
      • -------- Other, NEED TO BE LAST --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • Wait 3.00 seconds
          • -------- Multiboard --------
          • For each (Integer A) from 1 to 1, do (Actions)
            • Loop - Actions
              • Multiboard - Show Multiboard
              • Multiboard - Maximize Multiboard
          • Cinematic - Turn cinematic mode Off for (All players)
          • Trigger - Turn on Camera <gen>
 

Attachments

  • Integer.jpg
    Integer.jpg
    71.5 KB · Views: 142
Level 16
Joined
Mar 3, 2006
Messages
1,564

  • For each (Integer A) from 1 to 1, do (Actions)
    • Loop - Actions
      • For each (Integer A) from 1 to 1, 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
                  • (Player 1 (Red) controller) Equal to Computer
                  • (Player 1 (Red) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[1] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 1, row 1 to (|c00FF0000 + ((Name of Player[1]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 1, row 3 to (String(Multiboard_Kills[1]))
              • Multiboard - Set the display style for Multiboard item in column 1, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 1, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 2 (Blue) controller) Equal to Computer
                  • (Player 2 (Blue) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[2] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 2, row 1 to (|c000000FF + ((Name of Player[2]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 2, row 3 to (String(Multiboard_Kills[2]))
              • Multiboard - Set the display style for Multiboard item in column 2, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 2, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 3 (Teal) controller) Equal to Computer
                  • (Player 3 (Teal) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[3] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 3, row 1 to (|c0000FFFF + ((Name of Player[3]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 3, row 3 to (String(Multiboard_Kills[3]))
              • Multiboard - Set the display style for Multiboard item in column 3, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 3, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 4 (Purple) controller) Equal to Computer
                  • (Player 4 (Purple) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[4] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 4, row 1 to (|c00400040 + ((Name of Player[4]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 4, row 3 to (String(Multiboard_Kills[4]))
              • Multiboard - Set the display style for Multiboard item in column 4, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 4, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 5 (Yellow) controller) Equal to Computer
                  • (Player 5 (Yellow) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[5] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 5, row 1 to (|c00FFFF00 + ((Name of Player[5]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 5, row 3 to (String(Multiboard_Kills[5]))
              • Multiboard - Set the display style for Multiboard item in column 5, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 5, row 3 to Show text and Hide icons
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Player 6 (Orange) controller) Equal to Computer
                  • (Player 6 (Orange) slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of columns for Multiboard to (MultiboardRows - 1)
              • Unit - Remove Glow[6] from the game
              • Set HeroSelected = (HeroSelected + 1)
            • Else - Actions
              • Multiboard - Set the text for Multiboard item in column 6, row 1 to (|c00FF8000 + ((Name of Player[6]) + (|r + <Empty String>)))
              • Multiboard - Set the text for Multiboard item in column 6, row 3 to (String(Multiboard_Kills[6]))
              • Multiboard - Set the display style for Multiboard item in column 6, row 1 to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 6, row 3 to Show text and Hide icons
  • Multiboard - Change the number of columns for Multiboard to MultiboardRows


Those triggers are right but add

  • Multiboard - Create a multiboard with 1 columns and 1 rows, titled Kills
  • Set Multiboard = (Last created multiboard)
Add the previous ^ at the top of the trigger.

  • Multiboard - Show Multiboard
Then add this ^ at the end. I think that should work and dont forget to make the event
  • Time - Elapsed game time is 0.00 seconds
 
Level 20
Joined
Jan 6, 2008
Messages
2,627
  • -------- Other, NEED TO BE LAST --------
  • For each (Integer A) from 1 to 1, do (Actions)
    • Loop - Actions
      • Wait 3.00 seconds
      • -------- Multiboard --------
      • For each (Integer A) from 1 to 1, do (Actions)
        • Loop - Actions
          • Multiboard - Show Multiboard
          • Multiboard - Maximize Multiboard
      • Cinematic - Turn cinematic mode Off for (All players)
      • Trigger - Turn on Camera <gen>
Its not showing the text or title, its just a wierd looking box
 
Level 16
Joined
Mar 3, 2006
Messages
1,564
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Player[1] = Player 1 (Red)
      • Set Player[2] = Player 2 (Blue)
      • Set Player[3] = Player 3 (Teal)
      • Set Player[4] = Player 4 (Purple)
      • Set Player[5] = Player 5 (Yellow)
      • Set Player[6] = Player 6 (Orange)
      • -------- If you added more players, don't forget to change the loop ending integer --------
  • Multi Board
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 3 columns and 1 rows, titled Kills
      • Set MB = (Last created multiboard)
      • For each (Integer A) from 1 to 6, 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
                  • (Player[(Integer A)] controller) Equal to Computer
                  • (Player[(Integer A)] slot status) Equal to Is unused
            • Then - Actions
              • -------- Add you Then Action --------
            • Else - Actions
              • Multiboard - Change the number of rows for MB to ((Number of rows in MB) + 1)
              • Multiboard - Set the display style for MB item in column 1, row (Integer A) to Show text and Hide icons
              • Multiboard - Set the display style for MB item in column 3, row (Integer A) to Show text and Hide icons
              • Multiboard - Set the text for MB item in column 1, row (Integer A) to (Name of Player[(Integer A)])
              • Multiboard - Set the text for MB item in column 3, row (Integer A) to (String(MB_Kills[(Integer A)]))
              • Multiboard - Set the width for MB item in column 1, row (Integer A) to 10.00% of the total screen width
              • Multiboard - Set the width for MB item in column 3, row (Integer A) to 10.00% of the total screen width
      • -------- The following action is added because you will always get an additional raw --------
      • Multiboard - Change the number of rows for MB to ((Number of rows in MB) - 1)
      • Multiboard - Show MB
I tested this Multi-board and it worked. I hope your problem is solved. Good Luck.
 
Level 20
Joined
Jan 6, 2008
Messages
2,627
oh, thanks :)
EDIT: It works, but fails...
attachment.php


  • For each (Integer A) from 1 to 1, do (Actions)
    • Loop - Actions
      • Set MultiboardColor[1] = |c00FF0000
      • Set MultiboardColor[2] = |c000000FF
      • Set MultiboardColor[3] = |c0000FFFF
      • Set MultiboardColor[4] = |c00400040
      • Set MultiboardColor[5] = |c00FFFF00
      • Set MultiboardColor[6] = |c00FF8000
      • Multiboard - Create a multiboard with 3 columns and 1 rows, titled Kills
      • Set Multiboard = (Last created multiboard)
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Player[(Integer A)] controller) Equal to Computer
              • (Player[(Integer A)] controller) Equal to None
              • (Player[(Integer A)] slot status) Equal to Is unused
            • Then - Actions
              • Multiboard - Change the number of rows for Multiboard to ((Number of rows in Multiboard) - 1)
              • For each (Integer A) from 1 to 6, do (Actions)
                • Loop - Actions
                  • 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 1, 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
            • Else - Actions
              • Multiboard - Change the number of rows for Multiboard to ((Number of rows in Multiboard) + 1)
              • Multiboard - Set the display style for Multiboard item in column 1, row (Integer A) to Show text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 2, row (Integer A) to Hide text and Hide icons
              • Multiboard - Set the display style for Multiboard item in column 3, row (Integer A) to Show text and Hide icons
              • Multiboard - Set the text for Multiboard item in column 1, row (Integer A) to (MultiboardColor[(Integer A)] + ((Name of Player[(Integer A)]) + |r ))
              • Multiboard - Set the text for Multiboard item in column 3, row (Integer A) to (String(Multiboard_Kills[(Integer A)]))
              • Multiboard - Set the width for Multiboard item in column 1, row (Integer A) to 10.00% of the total screen width
              • Multiboard - Set the width for Multiboard item in column 3, row (Integer A) to 4.00% of the total screen width
      • Multiboard - Change the number of rows for Multiboard to ((Number of rows in Multiboard) - 1)
      • Multiboard - Show Multiboard
      • Multiboard - Maximize Multiboard
:eekani:
 

Attachments

  • watee.jpg
    watee.jpg
    10.9 KB · Views: 75
Last edited:
Status
Not open for further replies.
Top