Lua API
On this page

Combat_HandlePlayerDeathEvent_S2C

Inherits from

A Player Kill occurred nearby (also sent for suicides).

Fields:

KillerId number

The ID of the character doing the killing.

Message string

The death message

ObjectId number

The ID of the departed.

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string