• 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] Multiboard won't show.

Status
Not open for further replies.
Level 17
Joined
Nov 26, 2007
Messages
1,964
I've tried a whole lot of things, I still have no clue why it won't show.

Here's the trigger:

  • CharacterSheet
    • Events
      • Time - Elapsed game time is 3.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[1] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[2] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[3] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[4] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[5] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[6] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[7] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[8] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[9] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[10] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[11] = (Last created multiboard)
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[12] = (Last created multiboard)
        • Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
          • Loop - Actions
            • Multiboard - Change the color of the title for STEEL_Multiboard[(Integer A)] to (80.00%, 80.00%, 0.00%) with 0.00% transparency
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 1, row 1 to 3.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 1, row 2 to 3.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 2, row 1 to 5.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 2, row 2 to 5.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 3, row 1 to 8.00% of the total screen width
              • Do Multiple ActionsFor each (Integer B) from 4 to 8, do (Actions)
                • Loop - Actions
                  • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 1, row (Integer B) to 4.00% of the total screen width
                  • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 2, row (Integer B) to 1.00% of the total screen width
                  • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 3, row (Integer B) to 4.00% of the total screen width
                  • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 4, row (Integer B) to 1.00% of the total screen width
                  • Multiboard - Set the color for STEEL_Multiboard[(Integer A)] item in column 3, row (Integer B) to (80.00%, 80.00%, 0.00%) with 0.00% transparency
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 9, row 1 to 8.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 10, row 1 to 4.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 10, row 2 to 1.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 11, row 1 to 4.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 11, row 2 to 1.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 12, row 1 to 8.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 13, row 1 to 3.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 13, row 2 to 2.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 14, row 1 to 3.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 14, row 2 to 2.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 15, row 1 to 8.00% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 16, row 1 to 3.50% of the total screen width
            • Multiboard - Set the width for STEEL_Multiboard[(Integer A)] item in column 16, row 2 to 8.00% of the total screen width
            • Multiboard - Set the display style for STEEL_Multiboard[(Integer A)] item in column 0, row 0 to Show text and Hide icons
            • Multiboard - Set the color for STEEL_Multiboard[(Integer A)] item in column 1, row 0 to (80.00%, 80.00%, 0.00%) with 0.00% transparency
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 1 to Name:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 2 to Race:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 4 to Fighter:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 3, row 4 to Barbarian:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 5 to Wizard:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 3, row 5 to Warlock:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 6 to Paladin:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 3, row 6 to Cleric:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 7 to Ranger:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 3, row 7 to Rogue:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 8 to Druid:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 3, row 8 to Monk:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 10 to Featpoints:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 11 to Attribute Points:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 13 to Stamina:
            • Multiboard - Set the text for STEEL_Multiboard[(Integer A)] item in column 1, row 14 to Hunger:
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Multiboard - Hide STEEL_Multiboard[(Player number of (Picked player))]
          • Custom script: if ( GetLocalPlayer() == GetEnumPlayer() ) then
          • Multiboard - Show STEEL_Multiboard[(Player number of (Picked player))]
          • Custom script: endif
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 5 to (String(STEEL_Wizard[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 4 to (String(STEEL_Fighter[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 4, row 7 to (String(STEEL_Rogue[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 7 to (String(STEEL_Ranger[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 4, row 5 to (String(STEEL_Warlock[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 4, row 4 to (String(STEEL_Barbarian[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 6 to (String(STEEL_Paladin[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 4, row 6 to (String(STEEL_Cleric[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 8 to (String(STEEL_Druid[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 2 to None
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 10 to (String(STEEL_Featpoints[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 11 to (String(STEEL_Attributepoints[(Player number of (Picked player))]))
      • Trigger - Destroy (This trigger)

I had a For Loop at the beginning, but I thought it might be causing the problem so I created the boards individually and set them to the corresponding player. I didn't really change it back but I don't think it matters.


The board just won't show up, I'm assuming it's the last bit with localplayer but I'm really rusty with triggers in general and I've never made a multiboard before.

Oh yeah, the boards are referenced here and there in other triggers, but just update stuff. No Hide/Show functions so I didn't think it important to show those.

Any help would be appreciated!
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
The trigger probably can't handle such massive functions.
GUI is really bad at that: once the trigger is too 'heavy', it just stops working completely.
This is a common case in GUI multiboards because
1) You do NOT want to know how crappy the GUI-actions for multiboards are made... (horrible, absolutely horrible. A nightmare for JASSers).
2) Multiboards often contain loops and a lot of functions.

Combine those two and you've got a non-functional trigger.

Here's an easy solution: create another trigger and an integer variable.
Make the new trigger call that function 12 times and increase the integer variable every time (you obviously need to remove the event from the trigger "CharacterSheet" then).

Remove the loop completely and move the player group-action (the custom script is correct by the way) to the new trigger.

Here's how it could look:
  • Init
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • For each (Integer tempInt) from 1 to 12, do (Actions)
        • Loop - Actions
          • Trigger - Run CharacterSheet <gen> (ignoring conditions)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Multiboard - Hide STEEL_Multiboard[(Player number of (Picked player))]
          • Custom script: if GetLocalPlayer() == GetEnumPlayer() then
          • Multiboard - Show STEEL_Multiboard[(Player number of (Picked player))]
          • Custom script: endif
          • // Other actions here, too lazy :/
  • CharacterSheet
    • Events
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
      • Set STEEL_Multiboard[tempInt] = (Last created multiboard)
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 1, row 1 to 3.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 1, row 2 to 3.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 2, row 1 to 5.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 2, row 2 to 5.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 3, row 1 to 8.00% of the total screen width
      • For each (Integer B) from 4 to 8, do (Actions)
        • Loop - Actions
          • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 1, row (Integer B) to 4.00% of the total screen width
          • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 2, row (Integer B) to 1.00% of the total screen width
          • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 3, row (Integer B) to 4.00% of the total screen width
          • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 4, row (Integer B) to 1.00% of the total screen width
          • Multiboard - Set the color for STEEL_Multiboard[tempInt] item in column 3, row (Integer B) to (80.00%, 80.00%, 0.00%) with 0.00% transparency
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 9, row 1 to 8.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 10, row 1 to 4.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 10, row 2 to 1.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 11, row 1 to 4.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 11, row 2 to 1.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 12, row 1 to 8.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 13, row 1 to 3.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 13, row 2 to 2.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 14, row 1 to 3.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 14, row 2 to 2.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 15, row 1 to 8.00% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 16, row 1 to 3.50% of the total screen width
      • Multiboard - Set the width for STEEL_Multiboard[tempInt] item in column 16, row 2 to 8.00% of the total screen width
      • Multiboard - Set the display style for STEEL_Multiboard[tempInt] item in column 0, row 0 to Show text and Hide icons
      • Multiboard - Set the color for STEEL_Multiboard[tempInt] item in column 1, row 0 to (80.00%, 80.00%, 0.00%) with 0.00% transparency
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 1 to Name:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 2 to Race:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 4 to Fighter:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 3, row 4 to Barbarian:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 5 to Wizard:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 3, row 5 to Warlock:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 6 to Paladin:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 3, row 6 to Cleric:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 7 to Ranger:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 3, row 7 to Rogue:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 8 to Druid:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 3, row 8 to Monk:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 10 to Featpoints:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 11 to Attribute Points:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 13 to Stamina:
      • Multiboard - Set the text for STEEL_Multiboard[tempInt] item in column 1, row 14 to Hunger:
And that should magically work :D


Also, I said you didn't want to know how bad the GUI-actions were? Well, I'm going to show you either way >:)
You do not need to know any JASS for this. Just look and shiver.
http://www.hiveworkshop.com/forums/pastebin.php?id=5gq0gz.

The horrid nature of GUI is at its best with multiboards though, other functions are relatively safe (though nearly every action is slower than what it could be).
 
Level 17
Joined
Nov 26, 2007
Messages
1,964
Okay, so I made the changes..

  • Actions
    • Multiboard - Create a multiboard with 8 columns and 16 rows, titled Character Sheet
    • Set STEEL_Multiboard[STEEL_ATempint] = (Last created multiboard)
    • Multiboard - Change the color of the title for STEEL_Multiboard[STEEL_ATempint] to (80.00%, 80.00%, 0.00%) with 0.00% transparency
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 1 to 3.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 2 to 3.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 2, row 1 to 5.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 2, row 2 to 5.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 3, row 1 to 8.00% of the total screen width
      • Do Multiple ActionsFor each (Integer B) from 4 to 8, do (Actions)
        • Loop - Actions
          • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 1, row (Integer B) to 4.00% of the total screen width
          • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 2, row (Integer B) to 1.00% of the total screen width
          • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 3, row (Integer B) to 4.00% of the total screen width
          • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 4, row (Integer B) to 1.00% of the total screen width
          • Multiboard - Set the color for STEEL_Multiboard[STEEL_ATempint] item in column 3, row (Integer B) to (80.00%, 80.00%, 0.00%) with 0.00% transparency
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 9, row 1 to 8.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 10, row 1 to 4.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 10, row 2 to 1.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 11, row 1 to 4.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 11, row 2 to 1.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 12, row 1 to 8.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 13, row 1 to 3.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 13, row 2 to 2.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 14, row 1 to 3.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 14, row 2 to 2.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 16, row 2 to 8.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 15, row 1 to 8.00% of the total screen width
    • Multiboard - Set the width for STEEL_Multiboard[STEEL_ATempint] item in column 16, row 1 to 3.50% of the total screen width
    • Multiboard - Set the display style for STEEL_Multiboard[STEEL_ATempint] item in column 0, row 0 to Show text and Hide icons
    • Multiboard - Set the color for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 0 to (80.00%, 80.00%, 0.00%) with 0.00% transparency
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 1 to Name:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 2 to Race:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 4 to Fighter:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 3, row 4 to Barbarian:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 5 to Wizard:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 3, row 5 to Warlock:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 6 to Paladin:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 3, row 6 to Cleric:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 7 to Ranger:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 3, row 8 to Monk:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 8 to Druid:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 10 to Featpoints:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 11 to Attribute Points:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 13 to Stamina:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 1, row 14 to Hunger:
    • Multiboard - Set the text for STEEL_Multiboard[STEEL_ATempint] item in column 3, row 7 to Rogue:

And a separate trigger...

  • Run Boards
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Set STEEL_ATempint = (Integer A)
          • Trigger - Run CharacterSheet <gen> (checking conditions)
      • Multiboard - Hide all multiboards
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Multiboard - Hide STEEL_Multiboard[(Player number of (Picked player))]
          • Custom script: if ( GetLocalPlayer() == GetEnumPlayer() ) then
          • Multiboard - Show STEEL_Multiboard[(Player number of (Picked player))]
          • Custom script: endif
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 5 to (String(STEEL_Wizard[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 4 to (String(STEEL_Fighter[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 4, row 7 to (String(STEEL_Rogue[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 7 to (String(STEEL_Ranger[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 4, row 5 to (String(STEEL_Warlock[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 4, row 4 to (String(STEEL_Barbarian[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 6 to (String(STEEL_Paladin[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 4, row 6 to (String(STEEL_Cleric[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 8 to (String(STEEL_Druid[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 2 to None
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 10 to (String(STEEL_Featpoints[(Player number of (Picked player))]))
          • Multiboard - Set the text for STEEL_Multiboard[(Player number of (Picked player))] item in column 2, row 11 to (String(STEEL_Attributepoints[(Player number of (Picked player))]))
      • Trigger - Destroy CharacterSheet <gen>
      • Trigger - Destroy (This trigger)

Still doesn't work. No boards show up, nothing.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
  • Multiboard - Hide all multiboards
Remove that action and it will work.

By the way: I just re-created the trigger and can safely tell you that, without changing the trigger like you did, only 4 multiboards would've been created (so up to Purple, the rest wouldn't get a multiboard because the trigger would just call it quits).
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Only 1 player? Heh...
Can you try debugging the trigger?

Small example:
In Character Sheet, at the start, display the message "STEEL_ATempInt" (so you know that the array is correct).
At the end of Character Sheet, display "Multiboard done" (so you know it reaches the end of the trigger).

In "Run Boards", in the player group actions, display the player number before (as the first action of the player group actions).
In the same trigger, display "showing multiboard" in the GetLocalPlayer-part.

With this, you should have enough information to see where it goes wrong. If you find what's wrong, either solve it yourself (and set the solution here for people with the same problem in the future), or post the results and I will think about it.

(The "hide all multiboards"-action is gone, right?)
 
Level 17
Joined
Nov 26, 2007
Messages
1,964
Nevermind, it works.

I had to put in a few millisecond waits for the command to run properly, and I took off the "Hide Multiboard for Picked Player" before the custom script bit.

Thanks for the help though, now I'm having trouble with something else, lol.
 
Status
Not open for further replies.
Top