Difference between revisions of "Zombie Panic! Source Events"
m (Added discord_callstatusupdate and fixed angelscript_callevent params) |
m (→discord_callstatusupdate) |
||
| Line 74: | Line 74: | ||
{{begin-hl2msg|discord_callstatusupdate|string}} | {{begin-hl2msg|discord_callstatusupdate|string}} | ||
{{hl2msg|short|clientid}} | {{hl2msg|short|clientid}} | ||
| − | {{hl2msg|string|hostname}} | + | {{hl2msg|string|hostname|Server Hostname}} |
| − | {{hl2msg|string|serverip}} | + | {{hl2msg|string|serverip|Server IP}} |
| − | {{hl2msg|string|serverport}} | + | {{hl2msg|string|serverport|Server Port}} |
| − | {{hl2msg|string|model}} | + | {{hl2msg|string|model|Current Model of the client}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
| − | |||
=== angelscript_callevent=== | === angelscript_callevent=== | ||
Revision as of 09:46, 14 May 2018
- 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 discord_callstatusupdate
- 12 angelscript_callevent
- 13 cleanupmap
- 14 round_begins
- 15 round_win
- 16 game_round_restart
- 17 gravity_change
- 18 achievement_earned
- 19 spec_target_updated
- 20 zp_washuman
- 21 zp_infected
- 22 zp_entitypickedup
- 23 general_hint
- 24 movement_hint
- 25 movement_hint_success
- 26 gameinstructor_draw
- 27 gameinstructor_nodraw
- 28 set_instructor_group_enabled
- 29 instructor_tutor
- 30 instructor_server_hint_create
- 31 instructor_server_hint_stop
- 32 instructor_survivor_supply
- 33 logicrounds_start
- 34 logicrounds_end
- 35 set_text
- 36 vote_ended
- 37 vote_generic_created
- 38 vote_generic_clr
- 39 vote_started
- 40 vote_changed
- 41 vote_passed
- 42 vote_failed
- 43 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: |
|
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: |
|
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: |
|