Skip to content

KillHighlights

The KillHighlights API allow you to specify round highlights that should be awarded when kills are achieved with a particular item. When called as a function, ItemKillHighlights will be called.

export type ItemKillHighlight = {
Title: string,
Description: string,
Priority: number,
Threshold: number,
}

Gets the string which is used in the Extras table of a participant to count the number of kills they achieved with this item.

NameTypeDefaultDescription
itemNamestringThe item name.

string

Returns a BeforeHitParticipant function that, when called, will log a kill that occured (if it did), and award relevant highlights to the killer.

NameTypeDefaultDescription
......ItemKillHighlightThe ItemKillHighlights to use. This parameter is variadic, meaning you can specify multiple highlights by adding more as parameters.

BeforeHitParticipant