- Refer back to Game Events (Source) for more events.
player_death
Note: When player dies
| Name:
|
player_death
|
| Structure:
|
| short
|
userid
|
|
| short
|
attacker
|
|
| short
|
assistid
|
|
| string
|
weapon
|
|
| bool
|
special
|
Death by special
|
| bool
|
grail
|
Death counted toward grail score
|
| bool
|
suiassist
|
Suicide assist
|
|
round_end
Note: When round ends
| Name:
|
round_end
|
| Structure:
|
|
player_changeteam
| Name:
|
player_changeteam
|
| Structure:
|
| short
|
userid
|
|
| short
|
oldteam
|
|
| short
|
newteam
|
|
|
player_changeclass
| Name:
|
player_changeclass
|
| Structure:
|
| short
|
userid
|
|
| short
|
old_class
|
|
| short
|
new_class
|
|
|
player_spawn
| Name:
|
player_spawn
|
| Structure:
|
|
player_objective
Note: Occurs when player completes an objective
| Name:
|
player_objective
|
| Structure:
|
| short
|
userid
|
|
| string
|
groupids
|
List of userids for players doing objective
|
| short
|
assistid
|
Assistant (0 means unused)
|
| short
|
enemyid
|
Possible enemy (0 means unused)
|
| string
|
extra
|
String of extra data placed in #EXTRA# section of score string
|
| string
|
text
|
Text to append to userid's name (#I# is userid, #ASSIST# is assistid, #ENEMY# is enemyid)
|
|
player_points
Note: Occurs when player gains points
| Name:
|
player_points
|
| Structure:
|
| short
|
userid
|
|
| float
|
points
|
Number of points gained
|
| short
|
sid
|
Score ID
|
|
player_stats_updated
| Name:
|
player_stats_updated
|
| Structure:
|
|
player_nemesis
| Name:
|
player_nemesis
|
| Structure:
|
| short
|
userid
|
Player who caused the nemesis
|
| short
|
victim
|
Victim of the nemesis
|
|
player_revenge
| Name:
|
player_revenge
|
| Structure:
|
| short
|
userid
|
Player who achieved revenge
|
| short
|
victim
|
Player who was the nemesis
|
|
npc_death
Note: Occurs when an npc dies (e.g. parrot)
| Name:
|
npc_death
|
| Structure:
|
| short
|
userid
|
userid of the NPC/parrot owner
|
| short
|
attacker
|
userid that killed the NPC
|
| string
|
weapon
|
|
| bool
|
special
|
|
| string
|
type
|
Classname of the npc entity (npc_parrot/npc_vulture)
|
|
player_hurt
Note: Occurs when a player takes damage
| Name:
|
player_hurt
|
| Structure:
|
| short
|
userid
|
|
| short
|
health
|
|
| short
|
priority
|
|
| short
|
attacker
|
|
|
player_special
Note: Occurs when a player uses a special
| Name:
|
player_special
|
| Structure:
|
|
player_throw_explosive
| Name:
|
player_throw_explosive
|
| Structure:
|
| short
|
userid
|
|
| string
|
weapon
|
|
|
player_bomb_explode
| Name:
|
player_bomb_explode
|
| Structure:
|
| short
|
userid
|
|
| string
|
victims
|
List of userids hit by explosive
|
| string
|
weapon
|
|
| float
|
damage
|
Total damage done
|
|
player_melee_swing
| Name:
|
player_melee_swing
|
| Structure:
|
| short
|
userid
|
|
| string
|
victims
|
List of userids hit by swing
|
| string
|
weapon
|
|
| short
|
atkdir
|
Direction of attack
|
| float
|
damage
|
Total damage
|
| float
|
hitper
|
Percentage of swing arc that hit targets
|
|
player_ranged_impact
Note: Occurs on ranged weapon impact. Also occurs on keg impact and chest impact (thrownkeg and chest respectively)
| Name:
|
player_ranged_impact
|
| Structure:
|
| short
|
userid
|
|
| short
|
victim
|
|
| string
|
weapon
|
|
| float
|
damage
|
Damage dealt (0 if missed or blocked)
|
|
player_ranged_impale
Note: Occurs when a player is impaled to a surface by a projectile
Note: A player_ranged_impact event just prior to this event with a matching victim will give complete information
| Name:
|
player_ranged_impale
|
| Structure:
|
|
projectile_bounce
Note: Listen for a player_ranged_impact event immediately after this one, with matching userid, for complete impact information
| Name:
|
projectile_bounce
|
| Structure:
|
| short
|
userid
|
|
| string
|
weapon
|
|
|
player_healtheffect
| Name:
|
player_healtheffect
|
| Structure:
|
| short
|
userid
|
|
| float
|
health
|
|
| float
|
duration
|
|
| short
|
type
|
|
|
item_pickup
| Name:
|
item_pickup
|
| Structure:
|
| short
|
userid
|
|
| short
|
type
|
{{{3}}}
|
|
chest_pickup
| Name:
|
chest_pickup
|
| Structure:
|
| short
|
userid
|
|
| short
|
chestid
|
|
| byte
|
last_owner
|
{{{3}}}
|
|
chest_drop
| Name:
|
chest_drop
|
| Structure:
|
| short
|
userid
|
|
| short
|
chestid
|
|
| short
|
oldid
|
Chests get a new index every time that they are dropped
|
| byte
|
last_owner
|
{{{3}}}
|
| short
|
bashid
|
userid of player that bashed the carrier to drop it (if any)
|
|