| 03-24-2004, 05:02 AM | #1 |
Ive made my multiboard, except they have problems showing, especially online. The updater also has some problems, could someone have a look at the attached map (has the triggs in it) and tell me if anything wrong. Note: UMSWE required the triggs redded out are victory triggers A different Multiboard Setup trigger runs depending on the selected victory condition, and a different updater depending on the set type of unit spawns. Please tell me if you need any addition info |
| 03-24-2004, 05:24 PM | #2 |
Mind just putting the triggers up inside a [ code][/code] tag? |
| 03-25-2004, 03:58 AM | #3 |
Ok, heres the first trigger that sets up the multiboard, (I dont think the problems the problems the update trigger, but ill post that if someone wants). Note either this OR the next trigger is run in each game, never both. Code:
Multiboard - Create a multiboard with 3 columns and ((Player_number + 1) + Teams_PresentNumber) rows, titled <Empty String>
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 7.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 0 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 0 to 3.00% of the total screen width
Set MultiBoard = (Last created multiboard)
For each (Integer A) from 1 to 12, 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
Then - Actions
Set Mulitiboard_Row = (Mulitiboard_Row + 1)
Multiboard - Set the text for MultiBoard item in column 1, row Mulitiboard_Row to Player_name[(Integer A)]
Multiboard - Set the text for MultiBoard item in column 2, row Mulitiboard_Row to (((String(Leader_ukills[(Player number of (Player((Integer A))))])) + / ) + (String(Leader_udeaths[(Player number of (Player((Integer A))))])))
Multiboard - Set the text for MultiBoard item in column 3, row Mulitiboard_Row to (((String(Leader_hkills[(Player number of (Player((Integer A))))])) + / ) + (String(Leader_hdeaths[(Player number of (Player((Integer A))))])))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Player_team[1] Greater than or equal to 1
Then - Actions
Set Multi_Rowteam = (Multi_Rowteam + 1)
Multiboard - Set the text for MultiBoard item in column 1, row (Player_number + Multi_Rowteam) to |c00ff0000Team 1:|r
Multiboard - Set the text for MultiBoard item in column 2, row (Player_number + Multi_Rowteam) to ( + (String(CTF_teamflagsgot[1])))
Multiboard - Set the text for MultiBoard item in column 3, row (Player_number + Multi_Rowteam) to ( + (String(CTF_teamFlagsLost[1])))
Else - Actions
Multiboard - Set the display style for MultiBoard item in column 0, row 0 to Show text and Hide icons
Multiboard - Show MultiBoard
Multiboard - Show all multiboards
Trigger - Run DestroyMulti <gen> (checking conditions) |
| 03-25-2004, 03:58 AM | #4 |
Code:
Trigg number 2:
Actions
Multiboard - Create a multiboard with 3 columns and ((Player_number + 1) + Teams_PresentNumber) rows, titled <Empty String>
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 7.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 0 to 3.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 0 to 3.00% of the total screen width
Set MultiBoard = (Last created multiboard)
For each (Integer A) from 1 to 12, 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
Then - Actions
Set Mulitiboard_Row = (Mulitiboard_Row + 1)
Multiboard - Set the text for MultiBoard item in column 1, row Mulitiboard_Row to Player_name[(Integer A)]
Multiboard - Set the text for MultiBoard item in column 2, row Mulitiboard_Row to (((String(Leader_ukills[(Player number of (Player((Integer A))))])) + / ) + (String(Leader_udeaths[(Player number of (Player((Integer A))))])))
Multiboard - Set the text for MultiBoard item in column 3, row Mulitiboard_Row to (((String(Leader_hkills[(Player number of (Player((Integer A))))])) + / ) + (String(Leader_hdeaths[(Player number of (Player((Integer A))))])))
Else - Actions
Multiboard - Set the display style for MultiBoard item in column 0, row 0 to Show text and Hide icons
Multiboard - Show MultiBoard
Multiboard - Show all multiboards
Trigger - Run DestroyMulti <gen> (checking conditions) |
| 03-25-2004, 04:00 AM | #5 |
And number three, though I doubt this has any relevance. Code:
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
GameMode Equal to 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Game_HeroSpawnsdesuka Equal to True
Then - Actions
Trigger - Destroy Update Multiboard <gen>
Trigger - Destroy Update Mulit Tra N <gen>
Trigger - Turn on Update Mulit Tra N <gen>
Else - Actions
Trigger - Destroy UpdateMultiboardHeroes <gen>
Trigger - Destroy Update Multi Tra H <gen>
Trigger - Turn on Update Mulit Tra N <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Game_HeroSpawnsdesuka Equal to True
Then - Actions
Trigger - Destroy Update Multiboard <gen>
Trigger - Destroy Update Mulit Tra N <gen>
Trigger - Turn on Update Multi Tra H <gen>
Trigger - Turn on UpdateMultiboardHeroes <gen>
Else - Actions
Trigger - Turn on Update Multiboard <gen>
Trigger - Destroy UpdateMultiboardHeroes <gen>
Trigger - Destroy Update Mulit Tra N <gen>
Trigger - Destroy Update Multi Tra H <gen> |
| 03-26-2004, 07:50 PM | #6 |
Anyone got any ideas? |
