Game events added

From Empires Wiki
Jump to navigation Jump to search

point_captured

Note: Team captured a capture point

Name: point_captured
Structure:
bool team Team that captured the point
short location Location where the point was captured


point_neutral

Note: Team neutralized a capture point

Name: point_neutral
Structure:
bool team Team that neutralized the point
short location Location where the point was neutralized


player_death

Note: Player picked up a physgun (OB only)

Name: player_death
Structure:
short userid User ID who died
short attacker User ID who killed
byte hide Team to hide the message from
sstring weapon Weapon name killed used


game_end

Note: Player picked up a physgun (OB only)

Name: game_end
Structure:
bool team which team won
short entity entity to watch


voice_command

Note: Player picked up a physgun (OB only)

Name: voice_command
Structure:
bool team which team message is for
short command what message to play
byte sub sub identifier for some messages


commander_alert

Note: Player picked up a physgun (OB only)

Name: commander_alert
Structure:
bool team which team message is for
short command what message to play
float coord_x x coordinate
float coord_y y coordinate
float coord_z z coordinate


commander_vote_time

Note: when the vote for a commander begins

Name: commander_vote_time
Structure:
short time time left in the vote
bool commander_exists allows us to use this event for warmup time on CVless maps


commander_vote

Note: when a player casts a vote for a player to be the commander

Name: commander_vote
Structure:
bool team which team
short voter_id who is casting the vote
short player_id who the vote is for


player_class

Note: Player picked up a physgun (OB only)

Name: player_class
Structure:
local userid entity picked up
local class entity picked up


player_score

Note: Player picked up a physgun (OB only)

Name: player_score
Structure:
local userid entity picked up
local amount entity picked up
local reason entity picked up


vehicle_purchase

Note: Player picked up a physgun (OB only)

Name: vehicle_purchase
Structure:
local userid entity picked up
local recustomized entity picked up
local cost entity picked up
local chassis entity picked up


vehicle_enter

Note: Player picked up a physgun (OB only)

Name: vehicle_enter
Structure:
local userid entity picked up
local vehicleid entity picked up
local seat entity picked up


vehicle_exit

Note: Player picked up a physgun (OB only)

Name: vehicle_exit
Structure:
local userid entity picked up
local vehicleid entity picked up