Respawn tracker log regarding triage tag status on respawn #58
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem?
Describe the solution you would like.
Upon request of HHC, a server log can be provided that reports on members that have used the respawn button and includes the status of their triage tag and timestamp.
Describe the alternatives you have considered.
We currently log when players click the respawn button, so it is trivial to add logging of the current triage tag to the output. This will NOT be retroactive, so the medic would need to ensure they've changed the tag before the command to click the button.
Alternatively, we can add logging of player death and the current tag there, this would have the side benefit of knowning if upon death they've been looked at by a medic at all.
Preference code wise would be the former, as it can be implemented quicker ( one line of code )
Let's go with the first choice. This relates to hitting the respawn button and policy.
It is nice to see the alternate is a tool we can explore at a later date if issues with medics leaving people happens. At the moment we do not need that log however.
@hizumi any word on progress?
This has been implemented and will be pushed for next release
Code updated to log textual representation of triage status instead of level number
[milsim] [client] [milsim_common_fnc_log] [RESPAWNED WHILE UNCONSCIOUS] :: {"playerUID": "76561198009349760", "playerNetID": "2:400", "playerName": "SGT Hizumi", "durationSpentUnconscious": 5.39197, "playerGroup": "Alpha 1-1", "triageLevel": "Delayed"}merged into develop via #58