Round end

From EventScripts Community Encyclopedia

Description

round_end executes EVERY TIME A ROUND ENDS - (after objective completed/all players dead), also does not execute on ANY PLAYERS - (gives no information that is player-specific)

Variables

Variables Specific to round_end That Are Expanded:

     event_var(winner)
           The winner of the round (either 2 [Terrorists] or 3 [Counter-Terrorists]
     event_var(reason)
           The reason why the winner won
     event_var(message)
           The end of round message (either "#ROUND_DRAW" , "#Game_Commencing" , "#Terrorists_Win" , or "#CTs_Win")
     MESSAGE = #Target_Bombed
     REASON = 1
     ACTUAL TEXT = "Target Successfully Bombed"
     MESSAGE = #VIP_Escaped
     REASON = 2
     ACTUAL TEXT = "The VIP has escaped"
     MESSAGE = #VIP_Assassinated
     REASON = 3
     ACTUAL TEXT = "The VIP has been assassinated"
     MESSAGE = #Terrorists_Escaped
     REASON = 4
     ACTUAL TEXT = "Terrorists have escaped"
     MESSAGE = #CTs_PreventEscape
     REASON = 5
     ACTUAL TEXT = "The CT's have prevented most of the terrorists from escaping"
     MESSAGE = #Escaping_Terrorists_Neutralized
     REASON = 6
     ACTUAL TEXT = "Escaping terrorists have all been neutralized"
     MESSAGE = #Bomb_Defused
     REASON = 7
     ACTUAL TEXT = "Bomb has been defused"
     MESSAGE = #CTs_Win
     REASON = 8
     ACTUAL TEXT = "Counter-Terrorists Win"
     MESSAGE = #Terrorists_Win
     REASON = 9
     ACTUAL TEXT = "Terrorists Win"
     MESSAGE = #Round_Draw
     REASON = 10
     ACTUAL TEXT = "Round Draw"
     MESSAGE = #All_Hostages_Rescued
     REASON = 11
     ACTUAL TEXT = "All hostages have been rescued"
     MESSAGE = #Target_Saved
     REASON = 12
     ACTUAL TEXT = "Target has been saved"
     MESSAGE = #Hostages_Not_Rescued
     REASON = 13
     ACTUAL TEXT = "Hostages have not been rescued"
     MESSAGE = #Terrorists_Not_Escaped
     REASON = 14
     ACTUAL TEXT = "Terrorists have not escaped"
     MESSAGE = #VIP_Not_Escaped
     REASON = 15
     ACTUAL TEXT = "VIP has not escaped"
     MESSAGE = #Game_Commencing
     REASON = 16
     ACTUAL TEXT = "Game Commencing"

Notes

At round_end event there are no userids and any variable used for userid wont work!

blog comments powered by Disqus