HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

What am I missing in this trigger?

05-16-2004, 04:16 PM#1
Narwanza
You can probably guess what this is, it is the main menu display of the thing I am creating. What it is supposed to do is just display the row items, but it is being dumb, or I am being dumb. I don't know multiboard sytax very well, and I am using UMSWE. What am I missing in order for them to show up? Right now all i see is blank rows in my multiboard.

Code:
Multboard Show
    Events
        Unit - Mountain King 0000 <gen> Is selected
    Conditions
    Actions
        Multiboard - Clear MyGameEngine
        Multiboard - Set the number of rows for MyGameEngine to 4
        Multiboard - Change the value of (From MyGameEngine get item in row 0, column 1) to |cffffcc00Armor|r
        Multiboard - Change the width of (From MyGameEngine get item in row 0, column 0) to 50.00
        Set RowCurrentlySelected = 0
        Set MainMenuStrings[0] = Armor
        Set MainMenuStrings[1] = Potions
        Set MainMenuStrings[2] = Ability Set
        Set MainMenuStrings[3] = Misc.
        Set MainMenuValues[0] = (From MyGameEngine get item in row 0, column 0)
        Set MainMenuValues[1] = (From MyGameEngine get item in row 1, column 0)
        Set MainMenuValues[2] = (From MyGameEngine get item in row 2, column 0)
        Set MainMenuValues[3] = (From MyGameEngine get item in row 3, column 0)
        For each (Integer A) from 1 to 4, do (Actions)
            Loop - Actions
                Multiboard - Change the value of MainMenuValues[((Integer A) - 1)] to MainMenuStrings[((Integer A) - 1)]
                Multiboard - Change the icon of MainMenuValues[((Integer A) - 1)] to ReplaceableTextures\CommandButtons\BTNPeasant.blp
        Multiboard - Change the display style of MyGameEngine to Show
        Multiboard - Change the title of MyGameEngine to Joe
        Multiboard - Change the display style in MyGameEngine to Show the values and Show the icons
05-16-2004, 07:17 PM#2
Narwanza
Never mind, I figured it out.