Game events added

From Empires Wiki
Jump to navigation Jump to search

point_captured

Note: Player picked up a physgun (OB only)

Name: point_captured
Structure:
bool team entity picked up
short location entity picked up


point_neutral

Note: Player picked up a physgun (OB only)

Name: point_captured
Structure:
bool team entity picked up
short location entity picked up


player_death

Note: Player picked up a physgun (OB only)

Name: point_captured
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: point_captured
Structure:
bool team which team won
short entity entity to watch


voice_command

Note: Player picked up a physgun (OB only)

Name: point_captured
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: point_captured
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: point_captured
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: point_captured
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: point_captured
Structure:
local userid entity picked up
local class entity picked up


player_score

Note: Player picked up a physgun (OB only)

Name: point_captured
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: point_captured
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: point_captured
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: point_captured
Structure:
local userid entity picked up
local vehicleid entity picked up