Difference between revisions of "Generic Source Events"
m (→vote_started) |
(→vote_started) |
||
Line 237: | Line 237: | ||
=== vote_started === | === vote_started === | ||
− | {{qnotice|Called when the server or client calls a vote. (OB only)}}<br> | + | {{qnotice|Called when the server or client calls a Yes/No vote. Multiple-choice votes use the VoteStart UserMessage instead. (OB only)}}<br> |
{{begin-hl2msg|vote_started|string}} | {{begin-hl2msg|vote_started|string}} | ||
{{hl2msg|string|issue|}} | {{hl2msg|string|issue|}} |
Revision as of 21:37, 31 May 2011
- Refer back to Game Events (Source) for more events.
These should apply to all Source engine games
Contents
- 1 team_info
- 2 team_score
- 3 player_team
- 4 player_class
- 5 player_death
- 6 player_hurt
- 7 player_chat
- 8 player_score
- 9 player_spawn
- 10 player_shoot
- 11 player_use
- 12 player_changename
- 13 game_init
- 14 game_newmap
- 15 game_start
- 16 game_end
- 17 round_start
- 18 round_end
- 19 game_message
- 20 break_breakable
- 21 break_prop
- 22 entity_killed
- 23 bonus_updated
- 24 achievement_event
- 25 achievement_increment
- 26 physgun_pickup
- 27 flare_ignite_npc
- 28 helicopter_grenade_punt_miss
- 29 user_data_downloaded
- 30 ragdoll_dissolved
- 31 hltv_changed_mode
- 32 hltv_changed_target
- 33 vote_ended
- 34 vote_started
- 35 vote_changed
- 36 vote_cast
- 37 vote_options
- 38 replay_saved
- 39 entered_performance_mode
- 40 browse_replays
- 41 replay_youtube_stats
- 42 inventory_updated
- 43 cart_updated
- 44 store_pricesheet_updated
- 45 gc_connected
- 46 item_schema_initialized
team_info
Note: Info about team
Name: | team_info | ||||||
Structure: |
|
team_score
Note: Team score changed
Note: This is not called in Counter-Strike: Source
Name: | team_info | ||||||
Structure: |
|
player_team
Note: Player change his team
Name: | player_team | |||||||||||||||||||||
Structure: |
|
player_class
Note: A player changed his class
Name: | player_class | ||||||
Structure: |
|
player_death
Note: A player has died
Name: | player_death | ||||||
Structure: |
|
player_hurt
Note: A player was hurt
Name: | player_hurt | |||||||||
Structure: |
|
player_chat
Note: A public player chat
Name: | player_chat | |||||||||
Structure: |
|
player_score
Note: Player's scores changed
Name: | player_score | ||||||||||||
Structure: |
|
player_spawn
Note: Player spawned in game
Name: | player_spawn | |||
Structure: |
|
player_shoot
Note: Player shot his weapon
Name: | player_shoot | |||||||||
Structure: |
|
player_use
Note: When a player uses an option
Name: | player_use | ||||||
Structure: |
|
player_changename
Note: Player changed name
Name: | player_changename | |||||||||
Structure: |
|
game_init
Note: Sent when a new game is started (OB only)
game_newmap
Note: Sent when new map is completely loaded
Name: | game_newmap | |||
Structure: |
|
game_start
Note: A new game starts
Name: | game_start | ||||||||||||
Structure: |
|
game_end
Note: A game ended
Name: | game_end | |||
Structure: |
|
round_start
Note: The round started
Name: | round_start | |||||||||
Structure: |
|
round_end
Note: The round ended
Name: | round_end | |||||||||
Structure: |
|
game_message
Note: A message sent by game logic to everyone
Name: | game_message | ||||||
Structure: |
|
break_breakable
Note: A breakable (func_break) is broken.
Name: | break_breakable | |||||||||
Structure: |
|
break_prop
Note: A breakable prop is broken.
Name: | break_prop | ||||||
Structure: |
|
entity_killed
Note: An entity has been killed (OB only)
Name: | entity_killed | ||||||||||||
Structure: |
|
bonus_updated
Note: ??? (OB only)
Name: | bonus_updated | ||||||||||||
Structure: |
|
achievement_event
Note: A player has received an achievement (OB only)
Name: | achievement_earned | |||||||||
Structure: |
|
achievement_increment
Note: Sent whenever an achievement that's tracked on the HUD increases (OB only)
Name: | achievement_increment | |||||||||
Structure: |
|
physgun_pickup
Note: Player picked up a physgun (OB only)
Name: | physgun_pickup | |||
Structure: |
|
flare_ignite_npc
Note: A flare has ignited a NPC (OB only)
Name: | flare_ignite_npc | |||
Structure: |
|
helicopter_grenade_punt_miss
Note: ??? (OB only)
user_data_downloaded
Note: Fired when achievements/stats are downloaded from Steam or XBOX Live (OB only)
ragdoll_dissolved
Note: A ragdoll has dissolved (OB only)
Name: | ragdoll_dissolved | |||
Structure: |
|
hltv_changed_mode
Note: ??? (OB only)
Name: | hltv_changed_mode | |||||||||
Structure: |
|
hltv_changed_target
Note: ??? (OB only)
Name: | hltv_changed_target | |||||||||
Structure: |
|
vote_ended
Note: Not currently implemented. See EndVote UserMessage instead. (OB only)
vote_started
Note: Called when the server or client calls a Yes/No vote. Multiple-choice votes use the VoteStart UserMessage instead. (OB only)
Name: | vote_started | ||||||||||||
Structure: |
|
vote_changed
Note: ??? (OB only)
Name: | vote_changed | ||||||||||||||||||
Structure: |
|
vote_cast
Note: Sent to all players when a player chooses a vote option (or more specifically, the server receives a vote command) (OB only)
Name: | vote_cast | |||||||||
Structure: |
|
vote_options
Note: Sent to players before vote_start to populate choices for map vote (OB only)
Name: | vote_options | ||||||||||||||||||
Structure: |
|
replay_saved
Note: ??? (OB only)
entered_performance_mode
Note: ??? (OB only)
browse_replays
Note: ??? (OB only)
replay_youtube_stats
Note: ??? (OB only)
Name: | replay_youtube_stats | |||||||||
Structure: |
|
inventory_updated
Note: ??? (OB only)
cart_updated
Note: ??? (OB only)
store_pricesheet_updated
Note: ??? (OB only)
gc_connected
Note: ??? (OB only)
item_schema_initialized
Note: ??? (OB only)