Zombie Panic! Source Events
- Refer back to Game Events (Source) for more events.
Contents
- 1 player_death
- 2 player_connected
- 3 player_disconnected
- 4 map_change
- 5 zombie_lives
- 6 ambient_play
- 7 force_song
- 8 ambient_as
- 9 armmodel_as
- 10 spawned_player
- 11 angelscript_callevent
- 12 cleanupmap
- 13 round_begins
- 14 round_win
- 15 game_round_restart
- 16 gravity_change
- 17 achievement_earned
- 18 spec_target_updated
- 19 zp_washuman
- 20 zp_infected
- 21 zp_entitypickedup
- 22 general_hint
- 23 movement_hint
- 24 movement_hint_success
- 25 gameinstructor_draw
- 26 gameinstructor_nodraw
- 27 set_instructor_group_enabled
- 28 instructor_tutor
- 29 instructor_server_hint_create
- 30 instructor_server_hint_stop
- 31 instructor_survivor_supply
- 32 logicrounds_start
- 33 logicrounds_end
- 34 set_text
- 35 vote_ended
- 36 vote_generic_created
- 37 vote_generic_clr
- 38 vote_started
- 39 vote_changed
- 40 vote_passed
- 41 vote_failed
- 42 vote_cast
player_death
Note: When a player dies
Name: | player_death | ||||||||||||||||||
Structure: |
|
player_connected
Note: When a player joins the server
Name: | player_connected | |||
Structure: |
|
player_disconnected
Note: When a player leaves the server
Name: | player_disconnected | |||||||||
Structure: |
|
map_change
Note: Called when the map changes
Name: | map_change | |||
Structure: |
|
zombie_lives
Note: Called when the zombie lives changes
Name: | zombie_lives | |||
Structure: |
|
ambient_play
Note: Called when a sound plays
Name: | ambient_play | |||||||||
Structure: |
|
force_song
Note: Called when the logic_music entity changes the song
Name: | force_song_play | ||||||
Structure: |
|
ambient_as
Note: Called when a sound is played from AngelScript
Name: | ambient_as | |||
Structure: |
|
armmodel_as
Note: Called when a new arm model is set from AngelScript
Name: | armmodel_as | |||
Structure: |
|
spawned_player
Note: Called when player has spawned
Name: | spawned_player | |||
Structure: |
|
angelscript_callevent
Note: when AS calls the function CallEvent()
Name: | angelscript_callevent | |||||||||||||||
Structure: |
|
cleanupmap
Note: when the server calls CleanUpMap(), it will tell the client todo the same for temp and client sided entities
Name: | cleanupmap | |||
Structure: |
|
round_begins
Note: When the round begins
Name: | round_begins | |||
Structure: |
|
round_win
Note: When the round ends
Name: | round_win | ||||||
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: |
|
zp_washuman
Note: The player was a human player before we turned into zombie team (Only applies if there is no zombie lives left, or if the zombies won)
Name: | zp_washuman | |||
Structure: |
|
zp_infected
Note: Calls whenever someone got infected
Name: | zp_infected | |||
Structure: |
|
zp_entitypickedup
Note: Calls whenever a button is pressed, or if an item is picked up
Name: | zp_entitypickedup | |||
Structure: |
|
general_hint
Note: None
Name: | general_hint | |||
Structure: |
|
movement_hint
Note: None
Name: | movement_hint | |||
Structure: |
|
movement_hint_success
Note: None
Name: | movement_hint_success | |||
Structure: |
|
gameinstructor_draw
Note: None
Name: | gameinstructor_draw | |||
Structure: |
|
gameinstructor_nodraw
Note: None
Name: | gameinstructor_nodraw | |||
Structure: |
|
set_instructor_group_enabled
Note: None
Name: | set_instructor_group_enabled | ||||||
Structure: |
|
instructor_tutor
Note: Called from the instructor tutorial
Name: | instructor_tutor | |||||||||||||||||||||||||||
Structure: |
|
instructor_server_hint_create
Note: create a hint using data supplied entirely by the server/map. Intended for hints to smooth playtests before content is ready to make the hint unneccessary. NOT INTENDED AS A SHIPPABLE CRUTCH
Name: | instructor_server_hint_create | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Structure: |
|
instructor_server_hint_stop
Note: destroys a server/map created hint
Name: | instructor_server_hint_stop | |||
Structure: |
|
instructor_survivor_supply
Note: None
Name: | instructor_survivor_supply | |||||||||
Structure: |
|
logicrounds_start
Note: Called when the round has started (from logic_rounds)
Name: | logicrounds_start | |||
Structure: |
|
logicrounds_end
Note: Called when the round ends (from logic_rounds)
Name: | logicrounds_end | |||
Structure: |
|
set_text
Note: Called when AS sets the win text
Name: | set_text | |||
Structure: |
|
vote_ended
Note: Called when a vote has ended
Name: | vote_ended | |||
Structure: |
|
vote_generic_created
Note: Called when a generic vote has been created
Name: | vote_generic_created | |||
Structure: |
|
vote_generic_clr
Note: None
Name: | vote_generic_clr | ||||||||||||
Structure: |
|
vote_started
Note: Called when a vote started
Name: | vote_started | ||||||||||||
Structure: |
|
vote_changed
Note: Called when a vote changed
Name: | vote_changed | ||||||||||||||||||||||||
Structure: |
|
vote_passed
Note: Called when a vote passed
Name: | vote_passed | |||||||||
Structure: |
|
vote_failed
Note: Called when a vote failed
Name: | vote_passed | |||
Structure: |
|
vote_cast
Note: None
Name: | vote_cast | |||||||||
Structure: |
|