wc3edit.net

United Warcraft 3 map hacking!
It is currently January 24th, 2020, 11:20 pm

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Multiboard Help
PostPosted: December 21st, 2008, 8:34 am 
Offline
Forum Fanatic

Joined: October 16th, 2007, 7:32 pm
Posts: 327
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)


Top
 Profile  
 
 Post subject: Re: Multiboard Help
PostPosted: December 21st, 2008, 7:13 pm 
Offline
Forum Staff
User avatar

Joined: August 5th, 2007, 1:38 pm
Posts: 507
Location: *Unknown*
Title: Gui Expert
send me map


Top
 Profile  
 
 Post subject: Re: Multiboard Help
PostPosted: December 22nd, 2008, 10:56 pm 
Offline
Forum Fanatic

Joined: October 16th, 2007, 7:32 pm
Posts: 327
Thx Arabidnum for fixing the trigger.


Top
 Profile  
 
 Post subject: Re: Multiboard Help
PostPosted: December 16th, 2009, 11:27 am 
Offline
Newcomer
User avatar

Joined: December 12th, 2009, 4:50 pm
Posts: 21
Location: in the toilet poopin'
Title: warning breaker
can you put link here for godsake please



i want hacked map :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :(


Top
 Profile  
 
 Post subject: Re: Multiboard Help
PostPosted: December 16th, 2009, 11:29 am 
Offline
Not an Admin, and Not Unique
User avatar

Joined: March 1st, 2009, 12:30 pm
Posts: 2470
Location: Germany
Title: Der Boss :D
This is not even a request nor are you allowed to bump such an old thread.
Warned and locked.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 16 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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)