| 05-15-2006, 02:12 PM | #2 |
No, if you show it to all players, when 1 player clicks the dialog, it will only disspear for that player. The dialog is created for all players. If you want it to show for only 1 player, do something like this: Trigger: Actions
![]() Set TempPlayerGroup = (All players)
![]() Player Group - Pick every player in TempPlayerGroup and do (Dialog - Hide YourDialog for (Picked player))
![]() Dialog - Show YourDialog for ShowingPlayer |
| 05-15-2006, 02:32 PM | #3 |
But wouldn't the last line of my trigger only show it for the guy who typed cam? The events have all the players but it should only show it to the player who types it. Trigger: Dialog - Show CameraDialog for (Triggering player) |
| 05-15-2006, 03:41 PM | #4 |
No, when you create the dialog, the dialog is already shown to all players, so showing a shown dialog is pointless. Creating a dialog automaticly shows to everybody, so you have to hide it for everybody, then show it for the player you want to see it unfortunatly |
| 05-15-2006, 03:47 PM | #5 |
Just create the Dialog and add all the buttons once at map initialization (so it won't be shown), and then whenever anyone types cam all you do is show it to that player. Also don't clear the Dialog at the end; you'll want to keep it to be reused. |
