HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Multiboard Majority Problems

11-21-2003, 07:11 AM#1
SpectreReturns
Hey guys, I'm working on a multiboard economy system for my map, Gods: The Legend. One of the things on the board is your alignment, wether your good or evil. The number needs to change during the game, and I have it set up so that the variables control it. HOWEVER i am using this trigger:
Code:
Refresh
    Events
        Time - Every 5.00 seconds of game time
    Conditions
    Actions
        For each (Integer A) from 1 to 4, do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        evil[(Integer A)] Greater than or equal to 0
                    Then - Actions
                        Multiboard - Set used icon for multiboard item econobutton[(3 + ((Player number of (Player((Integer A)))) x 10))] to ReplaceableTextures\CommandButtons\BTNDivineIntervention.blp
                        Multiboard - Set the label for multiboard item econobutton[(3 + ((Player number of (Player((Integer A)))) x 10))] to Go
                        Game - Display to (Player group((Player((Integer A))))) the text: You are hot stuff
                    Else - Actions
                        Multiboard - Set used icon for multiboard item econobutton[(3 + ((Player number of (Player((Integer A)))) x 10))] to ReplaceableTextures\CommandButtons\BTNOrbOfCorruption.blp
                        Multiboard - Set the label for multiboard item econobutton[(3 + ((Player number of (Player((Integer A)))) x 10))] to Ev
                        Game - Display to (Player group((Player((Integer A))))) the text: You are evil
and it will say what alignment you are, but only change the value and icon to that of which the majority of the players have. So if player 1 is evil, p2+ are good, player 1 will have the text and icon of being good, however it sez he is evil.

Any help would be greatly appreciated.


[edit]Nevermind, I figured out why its doing this. The player has 4 multiboards overlapping eachother. How do you show a multiboard for one player only?