ON COMBAT EVENT

Seems to be fired whenever something dies (I have only tested this in PvE!)
Here are the parameters of the table passed in as a parameter to the event handler, along with what they seem to contain.
Key 	Definition
SourceFaction	0 seems to be players, 6 seems to be threshers, and an assault (presumably chosen) was 1. Not really sure what this is for.
SourceName 	The name of who did the killing. Can be a player's name, or a monster
Method 	The name of the weapon (or monster attack) that did the killing
TargetName 	The name of what was killed.
Event 	Seems to be the type of kill. Thus far, I have seen Downed (which seems to be a regular kill) and Headshot (which should be self explanatory)
TargetFaction	Seems to be similar to SourceFaction, but for what was killed, rather than the killer.
event 	Not to be confused with Event, seems to always be "on_combat_event"
TargetId 	Presumably identifies the target somehow. Not sure how to parse or use this number yet.
SourceId 	Presumably identifies the killer somehow. Not sure how to parse or use this number yet.
;Method
* ENGINEER_BEAM
* GRENADE_LAUNCHER
* ASSAULT_RIFLE
* SNIPER_RIFLE
* BIO_GUN
* HEAVY_MG
* PLASMA_CANNON
<nowiki>
{
"SourceFaction" = 0,
"SourceName" = "LAGBoyPunch",
"Method" = "(none)",
"TargetName" = "Aranha Worker",
"Event" = "Downed",
"TargetFaction" = 6,
"event" = "on_combat_event",
"TargetId" = <13569922201062320897>,
"SourceId" = <9192826534632729345>
}
</nowiki>
Category:UI Events