Add death position to combat log
complete
Ghost Menjou
Add death position to combat log for scripted objects.
2 use cases come to mind:
- Our current medic system currently needs to constantly scan the agents positions and detect them teleporting back to the spawn to rez a medic object where they died. This is extremely inefficient. Death positions would allow medic systems to work without high resolution timers and constant need to run agent lists and list operations.
- This would also work for death heatmaps and other visualizations.
Log In
This post was marked as
complete
Rider Linden
in progress
Thunder Rahja
Here's a sample output from a death event sent to CombatLog, prettified:
[
{
"event": "DEATH",
"owner": "c5a07167-9bbe-4944-a7b0-a9677afa134d",
"rezzer": "c5a07167-9bbe-4944-a7b0-a9677afa134d",
"source": "6769e544-59f4-9806-b880-49711851830a",
"target": "58ae0ec3-015d-4452-8ed8-2a73f3a07500",
"type": 0
}
]
An additional parameter could be added to the above to indicate the avatar's position before teleport:
"death_pos": "<128.00000,128.00000,20.00000>"
Soap Frenzy
If possible it would also be nice if this could include the position of the objects owner that killed the avatar at the time of death
Ghost Menjou
Soap Frenzy
That's a good idea