Teabag Battle Arena

RYEGR

Teabag battle arena.

HIGHLY BETA

Rules:
Sleep or Stun your enemies and let your team teabag them!
Beware of them though! they could kill you and reset your score!

Basically it's divided in Team asleep (full of Anas) and Team stun (featuring sigma, mccree and brigitte). Do you remember when they said to you "don't be so toxic!"? Well, here you can be as toxic as you wish. Every team to win has to stun or sleep an enemy target, when you do that all of the team will be prompted with the text "Let the Teabag begin". From there start pressing ctrl compulsively to gain Teabag points (shown in the game HUD on top). When you are in the "Teabag mode" though the enemy can kill you taking 60 points from your team balance. After the match time elapses the team that is more toxic wins... err i meant the team that has teabagged most wins! Hope you guys enjoy!

-Akatsune Blackhood

Code Snippet

regola("Inizializzazione") { evento { Ongoing - Each Player; Tutti; Tutti; } azioni { Disallow Button(Event Player, Crouch); } } regola("Teabag counter Team 1") { evento { Ongoing - Each Player; Team 1; Tutti; } condizioni { Is Button Held(Event Player, Crouch) == True; Global Variable(B) == 28; Has Status(Event Player, Asleep) != True; Is Alive(Event Player) == True; } azioni { Set Global Variable(C, Add(Global Variable(C), 1)); Call Subroutine(Sub0); Wait(0.016, Riparti quando è vero); } } regola("Teabag counter Team 2") { evento { Ongoing - Each Player; Team 2; Tutti; } condizioni { Is Button Held(Event Player, Crouch) == True; Global Variable(A) == 28; Has Status(Event Player, Stunned) != True; Is Alive(Event Player) == True; } azioni { Set Global Variable(D, Add(Global Variable(D), 1)); Call Subroutine(Sub0); Wait(0.016, Riparti quando è vero); } } disattivato regola("Teabag HUD Team 1") { evento { Ongoing - Each Player; Team 1; Tutti; } azioni { Create HUD Text(Event Player, Custom String("TeaBag Counter SBG:", Null, Null, Null), Null, Global Variable(C), Left, 0, Team 1, Team 1, Team 1, Sort Order and String, Visible Never); } } disattivato regola("Teabag HUD Team 2") { evento { Ongoing - Each Player; Team 2; Tutti; } azioni { Create HUD Text(Event Player, Custom String("TeaBag Counter THG:", Null, Null, Null), Null, Global Variable(D), Left, 0, Team 2, Team 2, Team 2, Sort Order and String, Visible Never); } } regola("Scoreboard") { evento { Ongoing - Each Player; Tutti; Tutti; } azioni { Set Player Score(Event Player, Player Variable(Event Player, C)); } } regola("Malus Teabag Counter Team 1") { evento { Player Dealt Final Blow; Team 2; Tutti; } condizioni { Global Variable(B) == 28; } azioni { Set Global Variable(C, Subtract(Global Variable(C), 60)); Call Subroutine(Sub0); } } regola("Malus Teabag Counter Team 2") { evento { Player Dealt Final Blow; Team 1; Tutti; } condizioni { Global Variable(A) == 28; } azioni { Set Global Variable(D, Subtract(Global Variable(D), 60)); Call Subroutine(Sub0); } } regola("Sleep Ana") { evento { Player Dealt Damage; Team 2; Tutti; } condizioni { Is Using Ability 1(Event Player) == True; } azioni { Create HUD Text(All Players(Team 2), Custom String("Let the Teabag begin!", Null, Null, Null), Null, Null, Top, 1, White, White, White, Visible To and String, Default Visibility); Allow Button(All Players(Team 2), Crouch); Set Global Variable(A, 28); Wait(5, Riparti quando è vero); Set Global Variable(A, 0); Disallow Button(All Players(Team 2), Crouch); Destroy All HUD Text; } } regola("Stun") { evento { Player Dealt Damage; Team 1; Tutti; } condizioni { Is Using Ability 2(Event Player) == True; } azioni { Create HUD Text(All Players(Team 1), Custom String("Let the Teabag begin!", Null, Null, Null), Null, Null, Top, 1, White, White, White, Visible To and String, Default Visibility); Allow Button(All Players(Team 1), Crouch); Set Global Variable(B, 28); Wait(5, Riparti quando è vero); Set Global Variable(B, 0); Disallow Button(All Players(Team 1), Crouch); Destroy All HUD Text; } } regola("Stun Brigitte") { evento { Player Dealt Damage; Team 1; Brigitte; } condizioni { Is Firing Secondary(Event Player) == True; } azioni { Create HUD Text(All Players(Team 1), Custom String("Let the Teabag begin!", Null, Null, Null), Null, Null, Top, 1, White, White, White, Visible To and String, Default Visibility); Allow Button(All Players(Team 1), Crouch); Set Global Variable(B, 28); Wait(5, Riparti quando è vero); Set Global Variable(B, 0); Disallow Button(Event Player, Crouch); Destroy All HUD Text; } } disattivato regola("Teabag HUD") { evento { Ongoing - Each Player; Tutti; Tutti; } azioni { Modify Team Score(Team 1, Global Variable(C)); Modify Team Score(Team 2, Global Variable(D)); } } regola("Disableing Roba") { evento { Ongoing - Global; } azioni { Disable Built-In Game Mode Scoring; Disable Built-In Game Mode Completion; } } regola("HUD Bonus") { evento { Subroutine; Sub0; } azioni { Set Team Score(Team 1, Global Variable(C)); Set Team Score(Team 2, Global Variable(D)); } } regola("Win Team 1") { evento { Ongoing - Global; } condizioni { Match Time == 0; Global Variable(C) > Global Variable(D); } azioni { Declare Team Victory(Team 1); } } regola("Win Team 2") { evento { Ongoing - Global; } condizioni { Match Time == 0; Global Variable(D) > Global Variable(C); } azioni { Declare Team Victory(Team 2); } } disattivato regola("Akatsune Blackhood watches you! Don't touch this rule!") { evento { Ongoing - Global; } }
View Fullscreen
Copy to clipboard

0 Comments

Log in or Sign up to place a comment.
Websites are expensive, support Workshop.codes
Workshop.codes - Background image