| 11-24-2006, 12:43 AM | #1 |
Alright, I took the tutorial on http://world-editor-tutorials.thehelper.net/ . It obviously doesnt work correctly as I saw from the outcome of some world tests in the world editor. I been begging people for help, for like EVER. My goal is to create 2 colums, 1 for players, 2 for status. I'm having major diffuclty. I'm not a complete newb, even I see some problems in this tutorial trigger. I then tried myself and still didnt get far with it. Here is what I got so far. I hope someone could help, or find the problem. Code:
Multiboard1
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 2 columns and (1 + (Number of players in player_playing)) rows, titled Information
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (Player Name + cc_endtag)
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to (Status + cc_endtag)
For each (Integer A) from 1 to (1 + (Number of players in player_playing)), do (Actions)
Loop - Actions
-------- Style --------
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
-------- Width --------
Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 9.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
-------- Add Players --------
Set player_colour = (player_colour + 1)
Set player_itself = (player_itself + 1)
Multiboard - Set the text for (Last created multiboard) item in column 1, row player_colour to (cc_players[player_colour] + ((Name of (Player(player_itself))) + cc_endtag))
Multiboard - Show (Last created multiboard)Code:
Multiboard
Events
Map initialization
Conditions
Actions
Set player_playing = (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)))
Set cc_players[1] = |cffffcc00
-------- Play Colors --------
Set cc_players[2] = |c00ff0303
Set cc_players[3] = |c000042ff
Set cc_players[4] = |c001ce6b9
Set cc_players[5] = |c00540081
Set cc_players[6] = |c00fffc01
Set cc_players[7] = |c00feba0e
Set cc_players[8] = |c0020c000
Set cc_players[9] = |c00e55bb0
Set cc_endtag = |rVariables cc_endtag: String cc_players: String player_colour: Integer (1) player_itself: Integer player_playing: Player Group Please help someone... |
| 11-24-2006, 03:38 AM | #2 |
sugest you use trigger-/trigger tags once puting in the trigger codes. |
| 11-25-2006, 04:15 AM | #3 |
Uh... I could just give you a trigger I wrote (also in GUI) that works awesomely. Similar to the tutorial one, but it detects whether a player decides to use colours not originally assigned to them (like if the second player wants to use Yellow instead of blue). I use 3 columns though, not 2 (the second is for Kill, the third for Death). I use 3 separate triggers - 1 for multiboard init, the other 2 is for each time a player dies/kills. PM me if you want it. |
