Zombie Panic! Source Events
- Refer back to Game Events (Source) for more events.
Contents
- 1 player_feed
- 2 player_spawn
- 3 player_exploded
- 4 player_connected
- 5 player_disconnected
- 6 map_change
- 7 clientsound
- 8 clientsound_player
- 9 force_song
- 10 armmodel_as
- 11 spawned_player
- 12 reset_arms
- 13 discord_callstatusupdate
- 14 angelscript_callevent
- 15 cleanupmap
- 16 gravity_change
- 17 spec_target_updated
- 18 achievement_earned
- 19 general_hint
- 20 movement_hint
- 21 movement_hint_success
- 22 gameinstructor_draw
- 23 gameinstructor_nodraw
- 24 set_instructor_group_enabled
- 25 instructor_tutor
- 26 instructor_server_hint_create
- 27 instructor_server_hint_stop
- 28 instructor_survivor_supply
- 29 endslate
- 30 vote_started
- 31 vote_update
- 32 vote_ended
- 33 badge_reward_announce
player_feed
Note: Whenever the player feed is updated. This is also called whenever someone becomes infected by a player
Name: | player_feed | |||||||||||||||||||||
Structure: |
|
player_spawn
Note: When a player spawns
Name: | player_spawn | |||
Structure: |
|
player_exploded
Note: When a player explodes
Name: | player_exploded | |||||||||
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: |
|
clientsound
Note: Called when a specific sound is played. Eg. Round Start, Round End, Survivor Escapes etc.
Name: | clientsound | ||||||
Structure: |
|
clientsound_player
Note: Called when a specific sound to a player is played. Eg. Using an Inoculator, Flashlight, Panic etc.
Name: | clientsound_player | ||||||
Structure: |
|
force_song
Note: Called when the logic_music entity changes the song
Name: | force_song | ||||||
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: |
|
reset_arms
Note: Called when player has fully turned into a zombie
Name: | reset_arms | ||||||
Structure: |
|
discord_callstatusupdate
Note: Send an Update to Discord RPC
Name: | discord_callstatusupdate | ||||||||||||||||||
Structure: |
|
angelscript_callevent
Note: When the 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: |
|
gravity_change
Note: When the gravity changes
Name: | gravity_change | |||
Structure: |
|
spec_target_updated
Note: None
Name: | spec_target_updated | |||
Structure: |
|
achievement_earned
Note: None
Name: | achievement_earned | |||||||||
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: |
|
endslate
Note: Called when the round ends
Name: | endslate | ||||||||||||
Structure: |
|
vote_started
Note: Called when a vote has started
Name: | vote_started | |||||||||||||||||||||
Structure: |
|
vote_update
Note: Called when a vote updates
Name: | vote_update | ||||||||||||||||||||||||||||||||||||
Structure: |
|
vote_ended
Note: Called when a vote has ended
Name: | vote_ended | ||||||||||||||||||
Structure: |
|
badge_reward_announce
Note: Called when the player is notified about receiving a badge reward.
Name: | badge_reward_announce | |||||||||||||||
Structure: |
|