SourceForts Events

From AlliedModders Wiki
Jump to: navigation, search
Refer back to Game Events (Source) for more events.

player_death

Note: When a player dies

Name: player_death
Structure:
short userid {{{3}}}
short attacker {{{3}}}
string weapon {{{3}}}


block_frozen

Note: When a building block becomes frozen

Name: block_frozen
Structure:
short userid {{{3}}}
short blockid {{{3}}}


block_unfrozen

Note: When a building block becomes unfrozen

Name: block_unfrozen
Structure:
short userid {{{3}}}
short blockid {{{3}}}


phase_switch

Note: When the phase switches from build to play

Name: phase_switch
Structure:
short oldphase {{{3}}}
short newphase {{{3}}}
short phase_count {{{3}}}
short phase_left {{{3}}}


player_grab

Note: When a player grabs the flag

Name: player_grab
Structure:
short userid {{{3}}}
short flagteam {{{3}}}


player_drop

Note: When a player drops the flag

Name: player_drop
Structure:
short userid {{{3}}}
short flagteam {{{3}}}


player_score

Note: When a player captures a flag

Name: player_score
Structure:
short userid {{{3}}}
short flagteam {{{3}}}


flag_return

Note: When flag is returned to original base

Name: flag_return
Structure:
short userid {{{3}}}
short flagteam {{{3}}}