(0023947)
|
Kaminsky
|
2024-08-16 05:02
(edited on: 2024-08-25 13:35) |
|
'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/169 [^]'
This adds the ACS function "SkipJoinQueue" (accepts one argument representing the index of the desired player), allowing modders to force spectators in the join queue to join the game outside of normal game mode rules. To know a player's position in the join queue, the ACS function "GetPlayerJoinQueuePosition" is also added, which returns -1 for players not in it.
Lastly, this adds a new EVENT script type: GAMEEVENT_JOINQUEUECHANGED that triggers anytime the join queue changes (i.e. when a player is added or removed). The activator is the world, "arg1" is the index of the player, and "arg2" is their current join queue position (-1 means they've been removed).
|
|