fixes reinsertion formatting and includes groups in diaglog
This commit is contained in:
@@ -5,9 +5,25 @@ private _baseNames = (missionNamespace getVariable ["milsim_respawn_reinsertionQ
|
||||
private _peopleAtThisBase = (missionNamespace getVariable ["milsim_respawn_reinsertionQueue", []]) select {
|
||||
_x#1 isEqualTo _baseName
|
||||
} apply {
|
||||
[name (_x#0), 0.7, [1,1,1,1]];
|
||||
private _timeInQueue = diag_tickTime - (_x#2);
|
||||
[
|
||||
format [
|
||||
"%1: %2 [%3]",
|
||||
groupId (group (_x#0)),
|
||||
name (_x#0),
|
||||
[_timeInQueue, "MM:SS"] call BIS_fnc_secondsToString
|
||||
],
|
||||
0.7,
|
||||
[1,1,1,1]
|
||||
];
|
||||
};
|
||||
|
||||
_peopleAtThisBase = [
|
||||
_peopleAtThisBase,
|
||||
[],
|
||||
{_x#0}
|
||||
] call BIS_fnc_sortBy;
|
||||
|
||||
private _playerCountText = "";
|
||||
switch (count _peopleAtThisBase) do {
|
||||
case 0: {
|
||||
|
||||
Reference in New Issue
Block a user