Difference between revisions of "Half-Life 2: Deathmatch Events"

From AlliedModders Wiki
Jump to: navigation, search
(New page: === player_death === {{qnotice|When a player dies}} {{begin-hl2msg|player_death|string}} {{hl2msg|short|userid}} {{hl2msg|short|attacker}} {{hl2msg|string|weapon}} {{end-hl2msg}})
 
(Updated for HL2:DM Orange Box update. Seriously, shouldn't this have happened in 2010?)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
:''Refer back to [[Game Events (Source)]] for more events.''
 +
 
=== player_death ===
 
=== player_death ===
 
{{qnotice|When a player dies}}
 
{{qnotice|When a player dies}}
 
{{begin-hl2msg|player_death|string}}
 
{{begin-hl2msg|player_death|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|user ID who died}}
{{hl2msg|short|attacker}}
+
{{hl2msg|short|attacker|user ID who killed}}
{{hl2msg|string|weapon}}
+
{{hl2msg|string|weapon|weapon name killed used}}
 +
{{end-hl2msg}}
 +
 
 +
=== teamplay_round_start ===
 +
{{begin-hl2msg|teamplay_round_start|string}}
 +
{{hl2msg|bool|full_reset|is this a full reset of the map}}
 +
{{end-hl2msg}}
 +
 
 +
=== spec_target_updated ===
 +
{{begin-hl2msg|spec_target_updated|string}}
 +
{{end-hl2msg}}
 +
 
 +
=== achievement_earned ===
 +
{{begin-hl2msg|achievement_earned|string}}
 +
{{hl2msg|byte|player|entindex of the player}}
 +
{{hl2msg|short|achievement|achievement ID}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}

Latest revision as of 09:24, 15 August 2011

Refer back to Game Events (Source) for more events.

player_death

Note: When a player dies

Name: player_death
Structure:
short userid user ID who died
short attacker user ID who killed
string weapon weapon name killed used


teamplay_round_start

Name: teamplay_round_start
Structure:
bool full_reset is this a full reset of the map


spec_target_updated

Name: spec_target_updated
Structure:


achievement_earned

Name: achievement_earned
Structure:
byte player entindex of the player
short achievement achievement ID