EntityDamage
interface in cs_script/point_script.
CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · schema format 2.2
Members
damage
damage: numberThe amount of damage being applied, before armor and hitgroup modifications
damageTypes
damageTypes?: CSDamageTypesThe type or types of damage.
damageFlags
damageFlags?: CSDamageFlagsThe flags configuring how to interpret the damage.
inflictor
inflictor?: EntityThe entity applying the damage. For bullets this is the owner of the gun. For grenades this is the exploding projectile.
attacker
attacker?: EntityThe entity credited with causing the damage. For bullets this is the shooter. For grenades this is the thrower.
weapon
weapon?: CSWeaponBaseThe weapon used. For grenades this will not be present because the weapon is often removed before the projectile explodes.