HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Multiboard Help

01-18-2004, 04:30 AM#1
zotax
I was almost sure I had it, but it seems its still not working, it being my multiboard. Im trying to add all available players Names to the multiboard. Its works with 1 Player but not with two or more, so anyway heres what I have:
Code:
Actions-
Create a multiboard with 3 columns and (Number of Players) rows
...yadayadayada....
For each integer A from 1-12 do actions
            If/then/else
            If player (Integer A) slot status is equal to is playing
            Then Set the text for multiboard in column A 1, row (Integer A)               to Name of Player (Integer A)

I think I know what the problem is, because integer A refers to the Player Number as well as the row which it will be created in eg If there are only 2 players, player 7 should be in row 2, not row 7. How would I fix this? A loop within a loop?
01-18-2004, 04:41 AM#2
Darimus
Create a variable called Row that starts at 0 and is an integer, then have at the beginning of the Then part, in your If/Then/Else, Set Row = Row + 1, then set the row number [for your multiboard] to the Row variable
01-18-2004, 07:51 PM#3
zotax
And for that my good sir, ye shall recieve a point!