Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

Hit

One hit an entity took: the health it was dealt, who dealt it, the weapon it came from, the zone it struck, and the game’s own data. Unreal’s gameplay effect carries the same: its instigator, its causer and a context the game extends.

Property Type Description
amount number -
data Readonly<Readonly<Record<string, unknown>>> | null What the weapon or the game’s own call attached; null for none.
source Entity | null A shooter’s character, or null for damage from no one.
weapon string | null The weapon’s name as registerWeapon names it; null for damage from none.
zone string | null The name of the entity’s HitZonesTrait zone it struck, such as "head", its multiplier already in amount; null for its body.