Multiboard Help

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

Locked
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Multiboard Help

Post by Black-Hole »

Ive been making a map that has 2 multiboards that change switch every so often, The first one works great, the second one crashes the game.

Code: Select all

Multiboard Change
    Events
        Time - Every 10.00 seconds of game time
    Conditions
    Actions
        Wait 15.00 seconds
        Multiboard - Show multi
        Wait 5.00 seconds
        Multiboard - Show multi2
        Trigger - Run Rows Player <gen> (checking conditions)

Code: Select all

Number Player
    Events
        Map initialization
    Conditions
    Actions
        Set numbe_of_player = (Number of players in (All players))
        Set numbe_of_player = (numbe_of_player - 1)

Code: Select all

Multiboard Player
    Events
        Map initialization
    Conditions
    Actions
        Set alltweck_n = 0
        Wait 5.00 seconds
        Multiboard - Create a multiboard with 3 columns and (numbe_of_player + 2) rows, titled Player lives
        For each (Integer A) from 1 to (numbe_of_player + 2), do (Actions)
            Loop - Actions
                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 2, 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
                Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 12.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 6.00% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 6.00% of the total screen width
        For each (Integer A) from 1 to 10, do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Player((Integer A))) slot status) Equal to Is playing
                        ((Player((Integer A))) slot status) Not equal to Is unused
                        ((Player((Integer A))) slot status) Not equal to Has left the game
                    Then - Actions
                        Set alltweck_n = (alltweck_n + 1)
                        Set player_row[alltweck_n] = (Integer A)
                    Else - Actions
        Set multi2 = (Last created multiboard)
        Multiboard - Hide multi2
        Trigger - Run Rows Player <gen> (checking conditions)

Code: Select all

Rows Player
    Events
    Conditions
    Actions
        For each (Integer B) from 1 to (numbe_of_player + 2), do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Player(player_row[(Integer B)])) slot status) Equal to Is playing
                    Then - Actions
                        Multiboard - Set the text for multi2 item in column 1, row 1 to Player Name
                        Multiboard - Set the text for multi2 item in column 1, row 2 to Kills
                        Multiboard - Set the text for multi2 item in column 1, row 3 to Leaks
                        Multiboard - Set the text for multi2 item in column 1, row ((Integer B) + 1) to ((PlayerColour[(Integer B)] + (Name of (Player(player_row[(Integer B)])))) + |r)
                        Multiboard - Set the text for multi2 item in column 2, row ((Integer B) + 1) to (String(Kills[player_row[(Integer B)]]))
                        Multiboard - Set the text for multi2 item in column 3, row ((Integer B) + 1) to (String(Leaks[player_row[(Integer B)]]))
                        Multiboard - Set the text for multi2 item in column 1, row ((Integer B) + 2) to Enemys on map
                        Multiboard - Set the text for multi2 item in column 2, row ((Integer B) + 2) to (String(CurrentlyOnMap))
                    Else - Actions
                        Multiboard - Set the text for multi2 item in column 1, row ((Integer B) + 1) to (|c55555555 + ((Name of (Player(player_row[(Integer B)]))) + |r))

Working MultiBoard
Spoiler:

Code: Select all

Multiboard Waves
    Events
        Map initialization
    Conditions
    Actions
        Wait 0.50 seconds
        Multiboard - Create a multiboard with 2 columns and 5 rows, titled Waves!!!
        For each (Integer A) from 1 to 5, do (Actions)
            Loop - Actions
                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 2, row (Integer A) to Show text and Hide icons
                Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 4.50% of the total screen width
                Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 8.00% of the total screen width
        Set multi = (Last created multiboard)
        Multiboard - Hide multi
        Wait 10.00 seconds
        Multiboard - Show multi

Code: Select all

rows Waves
    Events
    Conditions
    Actions
        Multiboard - Set the text for multi item in column 1, row 1 to ((String(LVL)) + Arrow)
        Multiboard - Set the text for multi item in column 1, row 2 to (String((LVL + 1)))
        Multiboard - Set the text for multi item in column 1, row 3 to (String((LVL + 2)))
        Multiboard - Set the text for multi item in column 1, row 4 to (String((LVL + 3)))
        Multiboard - Set the text for multi item in column 1, row 5 to (String((LVL + 4)))
        For each (Integer B) from 1 to 5, do (Actions)
            Loop - Actions
                Multiboard - Set the text for multi item in column 2, row (Integer B) to Info_wave[((LVL - 1) + (Integer B))]

Code: Select all

arrow Waves
    Events
        Time - Every 0.30 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Arrow Equal to |c00ff5555<---|r
            Then - Actions
                Set Arrow = |c00ff5555 <--|r
            Else - Actions
                Set Arrow = |c00ff5555<---|r
        Trigger - Run rows Waves <gen> (checking conditions)
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Multiboard Help

Post by Arabidnun »

send me map
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Re: Multiboard Help

Post by Black-Hole »

Thx Arabidnum for fixing the trigger.
User avatar
pro-file
Newcomer
Posts: 15
Joined: December 12th, 2009, 4:50 pm
Title: warning breaker
Location: in the toilet poopin'

Re: Multiboard Help

Post by pro-file »

can you put link here for godsake please



i want hacked map :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :(
User avatar
Bushido
Not an Admin, and Not Unique
Posts: 1880
Joined: March 1st, 2009, 12:30 pm
Title: Der Boss :D
Location: Germany
Contact:

Re: Multiboard Help

Post by Bushido »

This is not even a request nor are you allowed to bump such an old thread.
Warned and locked.
Download Senethior's tool package here!
[spoiler=Funny shit]
Kryptonyte wrote:Pew-pew, together, 2pac and I can take over the world. Muhahahahahaha.

Kryptonyte wrote:@2Pac, You're a G. Keep your pimp hand strong.

Kryptonyte wrote:anyways i gtg, PEACE, MR. ZOMG O SO PRO U RAWKZ0RZ SUM BoXZ()RZ


Code: Select all

(23:22:14) FatherSpace: BWAHAHA
(23:22:21) FatherSpace: I am 1337, you must fear my coolness.
(23:22:51) FatherSpace: I got bored, so I made a Python script so now whenever I open Terminal, I get a random haiku from here: http://www.smalltime.com/Haiku
(23:24:12) FatherSpace: afk... Killing myself. :(

Code: Select all

(03:52:56) ChatBot: (673237) logs into the Chat.
 (03:53:08) (673237): plzplzplz, im sorry about before.
 (03:53:26) FatherSpace: I'm sorry you were born.
(03:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(21:39:14) GeorgeMots: Jen are you there?
(21:39:44) 2Pac: ...lol?
(21:39:49) 2Pac: (21:22:22) ChatBot: UndeadxAssassin has been logged out (Timeout).
(21:39:52) GeorgeMots: w00t
(21:39:54) GeorgeMots: rofl
(21:39:58) GeorgeMots: *facepalm*
(21:39:59) 2Pac: you definetly fail
[/spoiler]
Get to know Bushido alias 2Pac alias King-Bushido!
Locked