Difference between revisions of "Zombie Panic! Source Events"
(→gravity_change) |
(Updated for ZPS 3.0) |
||
Line 1: | Line 1: | ||
:''Refer back to [[Game Events (Source)]] for more events.'' | :''Refer back to [[Game Events (Source)]] for more events.'' | ||
=== player_death === | === player_death === | ||
− | {{qnotice|When a | + | {{qnotice|When a player dies}}<br> |
{{begin-hl2msg|player_death|string}} | {{begin-hl2msg|player_death|string}} | ||
{{hl2msg|short|userid|player who died}} | {{hl2msg|short|userid|player who died}} | ||
{{hl2msg|short|attacker|player who killed}} | {{hl2msg|short|attacker|player who killed}} | ||
− | {{hl2msg|string|weapon| | + | {{hl2msg|short|assistant|player who assisted the attacker}} |
+ | {{hl2msg|string|weapon|name of the weapon}} | ||
+ | {{hl2msg|bool|headshot|true if player died from headshot}} | ||
+ | {{hl2msg|short|dmgbits|damage type}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
Revision as of 08:16, 19 December 2017
- Refer back to Game Events (Source) for more events.
Contents
player_death
Note: When a player dies
Name: | player_death | ||||||||||||||||||
Structure: |
|
zombie_death
Note: When a zombie dies
Name: | zombie_death | |||
Structure: |
|
ambient_play
Note: Called when a sound plays
Name: | ambient_play | ||||||
Structure: |
|
game_round_restart
Note: When one team won the round and players can select their team again
Name: | game_round_restart | |||
Structure: |
|
gravity_change
Note: When the gravity changes
Name: | gravity_change | |||
Structure: |
|
achievement_earned
Note: None
Name: | achievement_earned | ||||||
Structure: |
|
spec_target_updated
Note: None
Name: | spec_target_updated | |||
Structure: |
|