Difference between revisions of "Hidden: Source Events"

From AlliedModders Wiki
Jump to: navigation, search
(Hidden: Source Events)
(player_death)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
=== player_death ===
 
=== player_death ===
{{qnotice|When a player dies}}
+
{{qnotice|When a player dies. does not fire on IRIS deaths triggered by HIDDEN when hdn_deathnotices 0}}
 
{{begin-hl2msg|player_death|string}}
 
{{begin-hl2msg|player_death|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|userid}}
Line 17: Line 17:
 
{{hl2msg|float|damage}}
 
{{hl2msg|float|damage}}
 
{{hl2msg|bool|hidden}}
 
{{hl2msg|bool|hidden}}
 +
{{end-hl2msg}}
 +
 +
=== player_team ===
 +
{{qnotice|When a player changes team}}
 +
{{begin-hl2msg|player_team|string}}
 +
{{hl2msg|short|userid}}
 +
{{hl2msg|short|team}}
 +
{{hl2msg|short|oldteam}}
 +
{{hl2msg|bool|disconnect}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  

Latest revision as of 12:09, 6 March 2009

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

player_death

Note: When a player dies. does not fire on IRIS deaths triggered by HIDDEN when hdn_deathnotices 0

Name: player_death
Structure:
short userid {{{3}}}
short attacker {{{3}}}
string weapon {{{3}}}
bool headshot {{{3}}}


player_hurt

Note: When a player is hurt

Name: player_hurt
Structure:
short userid {{{3}}}
short attacker {{{3}}}
float damage {{{3}}}
bool hidden {{{3}}}


player_team

Note: When a player changes team

Name: player_team
Structure:
short userid {{{3}}}
short team {{{3}}}
short oldteam {{{3}}}
bool disconnect {{{3}}}


alarm_trigger

Note: When an alarm is triggered

Name: alarm_trigger
Structure:
float posx {{{3}}}
float posy {{{3}}}
float posz {{{3}}}


material_check

Note: When the player's materials are checked

Name: material_check
Structure:
long vmt_CRC {{{3}}}
long bump_CRC {{{3}}}


extraction_start

Note: When the extraction starts

Name: extraction_start
Structure:
float time {{{3}}}


extraction_stop

Note: When the extraction stops

Name: extraction_stop
Structure:


player_location

Note: When the player location changes

Name: player_location
Structure:
short userid {{{3}}}
string location {{{3}}}


iris_radio

Note: When iris_radio is used

Name: iris_radio
Structure:
short userid {{{3}}}
short message {{{3}}}


game_round_restart

Note: When the round restarts

Name: game_round_restart
Structure:


game_round_end

Note: When the round ends

Name: game_round_end
Structure:


game_round_start

Note: When the round starts

Name: game_round_start
Structure: