At the start of my map, I show a dialog with a few buttons to click on for all players.
Once a player has clicked their choice, however, the dialog does not go away. How do I hide the dialog for the triggering player only, so that the other players that, perhaps, have not yet clicked, can still do so until the timer for the vote ends?
That will return the player group that the triggering player belongs to. I want to hide the dialog just for player 1, or player 2, or player 3, individually.
I guess I could have four different dialogs, one for each player, but that seems a bit stupid
Hide the dialog for PlayerGroupSingle(Triggering Player)
Quote:
I guess I could have four different dialogs, one for each player, but that seems a bit stupid
Nope, doesn't have to be that way. The PlayerGroupSingle function converts a player number to a player group. I think its exactly the same as what Tekaichi suggested (Looks correct to me).
At the start of my map, I show a dialog with a few buttons to click on for all players.
Once a player has clicked their choice, however, the dialog does not go away. How do I hide the dialog for the triggering player only, so that the other players that, perhaps, have not yet clicked, can still do so until the timer for the vote ends?
"Hide Dialog (Your Dialog) for (Convert Player to player group(Triggering Player))" i think its this way.
@Tekaichi: Go
That will return the player group that the triggering player belongs to. I want to hide the dialog just for player 1, or player 2, or player 3, individually.
I guess I could have four different dialogs, one for each player, but that seems a bit stupid
@lorenzlorenz: Go
Hide the dialog for PlayerGroupSingle(Triggering Player)
Nope, doesn't have to be that way. The PlayerGroupSingle function converts a player number to a player group. I think its exactly the same as what Tekaichi suggested (Looks correct to me).
No no no, that Converts ONE player to a WHOLE Player Group so ..it will create a Player Group just for triggering player...I use that and it works.
@Tekaichi: Go Dialog - Hide dialog for (Player(triggering player))
Yep, this worked nicely. Case closed.