| 12-10-2004, 12:20 PM | #1 |
Ok heres the problem i make trigger(duhh). -Events Time elepsed is 0.00 seconds -Actions For Each Integer A from 1 to 10 do actions. Chage Title of Dialog[A] to Player Name of Player([A])_Stats Create a dialog button for Dialog[A] named STR+1 Set Variable-Last Created Dialog Button=DB[A+10] Create a dialog button for Dialog[A] named INT+1 Set Variable-Last Created Dialog Button=DB[A+20] Create a dialog button for Dialog[A] named AGIL+1 Set Variable-Last Created Dialog Button=DB[A+30] Please help with this. |
| 12-10-2004, 01:16 PM | #2 |
What's exactly the problem? I dunno if you can use time elapsed 0.00, try 0.01 maybe. |
| 12-10-2004, 01:46 PM | #3 |
I see no problem with the trigger itself except what DieHard said - you can't use 0.00 as your elapsed time. |
| 12-10-2004, 04:00 PM | #4 |
OK as i said in the trigger the dialog button 1 for player 1 is DB11, and when i use the dialog button is clicked it doesn't reconize the dialog button. I tried all events but still nothing, gues i will have to use it manualy. |
| 12-10-2004, 06:32 PM | #5 | |
Quote:
|
| 12-10-2004, 06:49 PM | #6 |
I had this problem and the only solution I found is converting the trigger to custom text and instead of: call DialogAddButton(blah) set buttonvariable = GetLastCreatedButtonBJ() use: set buttonvariable = DialogAddButton(blah) I hope you understand what I mean, I don't know you're having the same problem but if you have this will work(I dunno if it's the best solution), if not I can't help. |
| 12-10-2004, 09:04 PM | #7 |
Guest | Try not using arrays. Just use triggering player in the click detection trigger. Another thing is that you need to show it: For each integer from 1-(number of players) Show Dialog for Player(IntegerA) |
| 12-11-2004, 07:59 AM | #8 |
Actuly that was i trying to say with arrays and it worked. It shows the players name but the dialog buttons don't work. |
| 12-11-2004, 11:31 AM | #9 |
i actually have no idea on putting all dialog buttons for all players in only one trigger. arrays are working yes, but putting the dialog buttons is really a mess! try to make one trigger for all your dialog buttons. (i have no patience on this so i used the player - player types a message event instead of all dialogs and that.) |
| 12-11-2004, 02:31 PM | #10 |
Never mind i think i fixed it. I'l test it later. |
| 12-13-2004, 10:54 PM | #11 |
Guest | In some cases, you're able to make only one dialog with the three buttons you need. Unless this dialog is going to be displayed to all the players at once, a single dialog will do. |
