You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gdevelop5/all-features/expressions-reference.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -919,6 +919,7 @@ Allow players to connect to lobbies and play together. [Read more explanations a
919
919
|`Multiplayer::PlayerUsername()`| Get the username of the player in the lobby. ||
920
920
|`Multiplayer::PlayerVariableOwnership()`| Return the player owning the variable. ||
921
921
|`Multiplayer::PlayersInLobbyCount()`| Return the number of players in the lobby. ||
922
+
|`Multiplayer::QuickJoinFailureReason()`| Returns the reason why the Quick join action failed. It can either be 'FULL' if all lobbies were occupied, 'NOT_ENOUGH_PLAYERS' if the lobby's configuration requires more than 1 player to start the game and no other players were available. It can also take the value 'UNKNOWN'. ||
Copy file name to clipboardExpand all lines: docs/gdevelop5/all-features/multiplayer/reference.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,9 @@ Leave the current game lobby. This will trigger the "Player has left" condition
22
22
**Open Game Lobbies**
23
23
Open the game lobbies window, where players can join lobbies or see the one they are in.
24
24
25
+
**Join the next available lobby**
26
+
Join the next available lobby. The player will join the game instantly if this is possible.
27
+
25
28
**Remove ownership of variable**
26
29
Remove the ownership of the variable. It will still be synchronized to other players, but the host owns it.
27
30
@@ -84,6 +87,9 @@ Check if the specified player is connected to the lobby.
84
87
**Player is host**
85
88
Check if the player is the host. (Player 1 is the host)
86
89
90
+
**Is searching for a lobby to join**
91
+
Is searching for a lobby to join.
92
+
87
93
**Objects synchronization rate**
88
94
Compare objects synchronization rate (between 1 and 60, default is 30 times per second).
89
95
@@ -93,6 +99,9 @@ Compare the player owning the variable.
93
99
**Number of players in lobby**
94
100
Compare the number of players in the lobby.
95
101
102
+
**Quick join failed to join a lobby**
103
+
Quick join failed to join a lobby.
104
+
96
105
## Expressions
97
106
98
107
| Expression | Description ||
@@ -109,6 +118,7 @@ Compare the number of players in the lobby.
109
118
|`Multiplayer::PlayerUsername()`| Get the username of the player in the lobby. ||
110
119
|`Multiplayer::PlayerVariableOwnership()`| Return the player owning the variable. ||
111
120
|`Multiplayer::PlayersInLobbyCount()`| Return the number of players in the lobby. ||
121
+
|`Multiplayer::QuickJoinFailureReason()`| Returns the reason why the Quick join action failed. It can either be 'FULL' if all lobbies were occupied, 'NOT_ENOUGH_PLAYERS' if the lobby's configuration requires more than 1 player to start the game and no other players were available. It can also take the value 'UNKNOWN'. ||
0 commit comments