Skip to content

EventPlayerDeath (player_kill / player_kill_assist / player_death)

CSS game event player_death (EventPlayerDeath).

Who gets credit: the event player(s) listed under task types.

Task types

Put one of these in your task type: field:

  • player_kill
  • player_kill_assist
  • player_death

Minimal YAML

Save under blueprints/. Add rules from the table below — see Rules.

tasks:
  - id: example
    type: player_kill
    amount: 1
    rules: []

Attributes (rule keys)

Unknown keys never match — see Rules.

Key Type
global event data see page
player data prefixes assister, attacker, userid, victim
assistedflash bool
attackerblind bool
attackerinair bool
distance float
dmg_armor int
dmgarmor int
dmg_health int
dmghealth int
dominated bool
headshot bool
hitgroup int
noreplay bool
noscope bool
penetrated bool
revenge bool
thrusmoke bool
weapon string
weapon_fauxitemid string
weapon_itemid string
weaponitemid string
weapon_originalowner_xuid string
wipe int
isteamkill bool
isselfkill bool
attacker.grenade string
attacker.grenade.holding string
attacker.grenade.thrown string
attacker.grenade.throwing string
victim.grenade string
victim.grenade.holding string
victim.grenade.thrown string
victim.grenade.throwing string
userid.grenade string
userid.grenade.holding string
userid.grenade.thrown string
userid.grenade.throwing string
isace bool