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:
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:
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:
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:
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:
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:
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:
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)
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:
(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:
(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:
(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
Users browsing this forum: Bing [Bot] and 19 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum