wc3edit.net https://forum.wc3edit.net/ |
|
Multiboard Help http://forum.wc3edit.net/broken-fulfilled-f74/multiboard-help-t8610.html |
Page 1 of 1 |
Author: | Black-Hole [ December 21st, 2008, 8:34 am ] |
Post subject: | Multiboard Help |
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:
|
Author: | Arabidnun [ December 21st, 2008, 7:13 pm ] |
Post subject: | Re: Multiboard Help |
send me map |
Author: | Black-Hole [ December 22nd, 2008, 10:56 pm ] |
Post subject: | Re: Multiboard Help |
Thx Arabidnum for fixing the trigger. |
Author: | pro-file [ December 16th, 2009, 11:27 am ] |
Post subject: | Re: Multiboard Help |
can you put link here for godsake please i want hacked map |
Author: | Bushido [ December 16th, 2009, 11:29 am ] |
Post subject: | Re: Multiboard Help |
This is not even a request nor are you allowed to bump such an old thread. Warned and locked. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |