Login
Create
Return to post

Comparing difference between and

View raw
  • variables
  • {
  • global:
  • 0: WorkshopSettings
  • 1: TeamReady
  • 2: RoundNumber
  • 3: TeleportSpot
  • 4: TeamDamage
  • 5: TeamHealing
  • 6: WorkshopSettingsStatsDPS
  • 7: WorkshopSettingsStatsTank
  • 8: WorkshopSettingsStatsSupport
  • 9: WorkshopStatSettingsSlotNames
  • 10: StatsListed
  • 11: StatSlotsExplanationsDPS
  • 12: StatSlotsExplanationsTank
  • 13: StatSlotsExplanationsSupport
  • 14: Maps
  • 19: TeamScore
  • 20: T1DPS
  • 21: T1Tank
  • 22: T1Support
  • 23: T2DPS
  • 24: T2Tank
  • 25: T2Support
  • player:
  • 0: DamageDealt
  • 1: DamageTaken
  • 2: HealingRecived
  • 3: HealingDealt
  • 4: Eliminations
  • 5: FinalBlows
  • 6: Deaths
  • 23: Statsplace
  • 24: StatsShown
  • 25: HeroList
  • }
  • disabled rule("Match time 0 on interact")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Interact)) == True;
  • }
  • actions
  • {
  • Set Match Time(0);
  • }
  • }
  • disabled rule("---------------------------------------------------------------VARIABLES--------------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Variables")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Global.RoundNumber[0] = 0;
  • Global.TeleportSpot = Null;
  • Global.T1DPS = Empty Array;
  • Global.T1Tank = Empty Array;
  • Global.T1Support = Empty Array;
  • Global.T2DPS = Empty Array;
  • Global.T2Tank = Empty Array;
  • Global.T2Support = Empty Array;
  • Global.WorkshopStatSettingsSlotNames[0] = Custom String("Disabled");
  • Global.WorkshopStatSettingsSlotNames[1] = Custom String("Slot 1");
  • Global.WorkshopStatSettingsSlotNames[2] = Custom String("Slot 2");
  • Global.WorkshopStatSettingsSlotNames[3] = Custom String("Slot 3");
  • Global.WorkshopStatSettingsSlotNames[4] = Custom String("Slot 4");
  • Global.StatsListed = Empty Array;
  • Global.Maps = Empty Array;
  • }
  • }
  • rule("Workshop Variables")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Global.WorkshopSettings[0] = Workshop Setting Toggle(Custom String("Lobby"), Custom String("Skip Assemble your heroes"), True, 3);
  • Global.WorkshopSettings[1] = Workshop Setting Integer(Custom String("Lobby"), Custom String("Set Up lenght (Default 50)"), 50, 10,
  • 300, 4);
  • Global.WorkshopSettings[2] = Workshop Setting Toggle(Custom String("Set Up"), Custom String(
  • "Enable ready check and adding time (Default true)"), True, 2);
  • Global.WorkshopSettings[3] = Workshop Setting Integer(Custom String("Set Up"), Custom String("Add time short (default 30)"), 30, 5,
  • 120, 0);
  • Global.WorkshopSettings[4] = Workshop Setting Integer(Custom String("Set Up"), Custom String("Add Break time (default 300)"), 300,
  • 120, 600, 1);
  • Global.WorkshopSettings[5] = Workshop Setting Toggle(Custom String("Lobby"), Custom String("Bigger HUD (Default False)"), False,
  • 1);
  • Global.WorkshopSettings[6] = Workshop Setting Toggle(Custom String("Set Up"), Custom String(
  • "Allow teleport during setup (Default true)"), True, 3);
  • Global.WorkshopSettings[7] = Workshop Setting Toggle(Custom String("Lobby"), Custom String("Disable ALL stats (Default False)"),
  • False, 0);
  • Global.WorkshopSettings[8] = Workshop Setting Toggle(Custom String("Lobby"), Custom String("Hide HUD explanations"), False, 2);
  • Global.WorkshopSettings[9] = Workshop Setting Toggle(Custom String("Lobby"), Custom String("Play for the win"), False, 5);
  • }
  • }
  • rule("Workshop Variables Stats DPS")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Global.WorkshopSettingsStatsDPS[0] = Workshop Setting Combo(Custom String("DPS Stats"), Custom String("Damage Dealt (DPS)"), 1,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 0);
  • Global.WorkshopSettingsStatsDPS[1] = Workshop Setting Combo(Custom String("DPS Stats"), Custom String("Damage Taken (DPS)"), 2,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 1);
  • Global.WorkshopSettingsStatsDPS[2] = Workshop Setting Combo(Custom String("DPS Stats"), Custom String("Healing Recieved (DPS)"), 3,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 2);
  • Global.WorkshopSettingsStatsDPS[3] = Workshop Setting Combo(Custom String("DPS Stats"), Custom String("Healing Dealt (DPS)"), 0,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 3);
  • Global.WorkshopSettingsStatsDPS[4] = Workshop Setting Combo(Custom String("DPS Stats"), Custom String("Eliminations (DPS)"), 0,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 4);
  • Global.WorkshopSettingsStatsDPS[5] = Workshop Setting Combo(Custom String("DPS Stats"), Custom String("Final Blows (DPS)"), 0,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 5);
  • Global.WorkshopSettingsStatsDPS[6] = Workshop Setting Combo(Custom String("DPS Stats"), Custom String("Deaths (DPS)"), 4, Array(
  • Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String("Slot 4")),
  • 6);
  • }
  • }
  • rule("Workshop Variables Stats Tank")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Global.WorkshopSettingsStatsTank[0] = Workshop Setting Combo(Custom String("Tank Stats"), Custom String("Damage Dealt (Tank)"), 1,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 0);
  • Global.WorkshopSettingsStatsTank[1] = Workshop Setting Combo(Custom String("Tank Stats"), Custom String("Damage Taken (Tank)"), 2,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 1);
  • Global.WorkshopSettingsStatsTank[2] = Workshop Setting Combo(Custom String("Tank Stats"), Custom String("Healing Recieved (Tank)"),
  • 3, Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 2);
  • Global.WorkshopSettingsStatsTank[3] = Workshop Setting Combo(Custom String("Tank Stats"), Custom String("Healing Dealt (Tank)"), 0,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 3);
  • Global.WorkshopSettingsStatsTank[4] = Workshop Setting Combo(Custom String("Tank Stats"), Custom String("Eliminations (Tank)"), 0,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 4);
  • Global.WorkshopSettingsStatsTank[5] = Workshop Setting Combo(Custom String("Tank Stats"), Custom String("Final Blows (Tank)"), 0,
  • Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 5);
  • Global.WorkshopSettingsStatsTank[6] = Workshop Setting Combo(Custom String("Tank Stats"), Custom String("Deaths (Tank)"), 4, Array(
  • Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String("Slot 4")),
  • 6);
  • }
  • }
  • rule("Workshop Variables Stats Support")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Global.WorkshopSettingsStatsSupport[0] = Workshop Setting Combo(Custom String("Support Stats"), Custom String(
  • "Damage Dealt (Support)"), 1, Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String(
  • "Slot 3"), Custom String("Slot 4")), 0);
  • Global.WorkshopSettingsStatsSupport[1] = Workshop Setting Combo(Custom String("Support Stats"), Custom String(
  • "Damage Taken (Support)"), 2, Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String(
  • "Slot 3"), Custom String("Slot 4")), 1);
  • Global.WorkshopSettingsStatsSupport[2] = Workshop Setting Combo(Custom String("Support Stats"), Custom String(
  • "Healing Recieved (Support)"), 0, Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"),
  • Custom String("Slot 3"), Custom String("Slot 4")), 2);
  • Global.WorkshopSettingsStatsSupport[3] = Workshop Setting Combo(Custom String("Support Stats"), Custom String(
  • "Healing Dealt (Support)"), 3, Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"),
  • Custom String("Slot 3"), Custom String("Slot 4")), 3);
  • Global.WorkshopSettingsStatsSupport[4] = Workshop Setting Combo(Custom String("Support Stats"), Custom String(
  • "Eliminations (Support)"), 0, Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String(
  • "Slot 3"), Custom String("Slot 4")), 4);
  • Global.WorkshopSettingsStatsSupport[5] = Workshop Setting Combo(Custom String("Support Stats"), Custom String(
  • "Final Blows (Support)"), 0, Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String(
  • "Slot 3"), Custom String("Slot 4")), 5);
  • Global.WorkshopSettingsStatsSupport[6] = Workshop Setting Combo(Custom String("Support Stats"), Custom String("Deaths (Support)"),
  • 4, Array(Custom String("Disabled"), Custom String("Slot 1"), Custom String("Slot 2"), Custom String("Slot 3"), Custom String(
  • "Slot 4")), 6);
  • }
  • }
  • rule("List Stats")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Global.StatsListed = Append To Array(Global.StatsListed, Custom String("Damage Dealt"));
  • Global.StatsListed = Append To Array(Global.StatsListed, Custom String("Damage Taken"));
  • Global.StatsListed = Append To Array(Global.StatsListed, Custom String("Healing Recieved"));
  • Global.StatsListed = Append To Array(Global.StatsListed, Custom String("Healing Dealt"));
  • Global.StatsListed = Append To Array(Global.StatsListed, Custom String("Eliminations"));
  • Global.StatsListed = Append To Array(Global.StatsListed, Custom String("Final Blows"));
  • Global.StatsListed = Append To Array(Global.StatsListed, Custom String("Deaths"));
  • }
  • }
  • rule("HUD EXPLANATIONS Variable")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • "DPS"
  • Global.StatSlotsExplanationsDPS[Global.WorkshopSettingsStatsDPS[0]] = Global.StatsListed[0];
  • Global.StatSlotsExplanationsDPS[Global.WorkshopSettingsStatsDPS[1]] = Global.StatsListed[1];
  • Global.StatSlotsExplanationsDPS[Global.WorkshopSettingsStatsDPS[2]] = Global.StatsListed[2];
  • Global.StatSlotsExplanationsDPS[Global.WorkshopSettingsStatsDPS[3]] = Global.StatsListed[3];
  • Global.StatSlotsExplanationsDPS[Global.WorkshopSettingsStatsDPS[4]] = Global.StatsListed[4];
  • Global.StatSlotsExplanationsDPS[Global.WorkshopSettingsStatsDPS[5]] = Global.StatsListed[5];
  • Global.StatSlotsExplanationsDPS[Global.WorkshopSettingsStatsDPS[6]] = Global.StatsListed[6];
  • "Tank"
  • Global.StatSlotsExplanationsTank[Global.WorkshopSettingsStatsTank[0]] = Global.StatsListed[0];
  • Global.StatSlotsExplanationsTank[Global.WorkshopSettingsStatsTank[1]] = Global.StatsListed[1];
  • Global.StatSlotsExplanationsTank[Global.WorkshopSettingsStatsTank[2]] = Global.StatsListed[2];
  • Global.StatSlotsExplanationsTank[Global.WorkshopSettingsStatsTank[3]] = Global.StatsListed[3];
  • Global.StatSlotsExplanationsTank[Global.WorkshopSettingsStatsTank[4]] = Global.StatsListed[4];
  • Global.StatSlotsExplanationsTank[Global.WorkshopSettingsStatsTank[5]] = Global.StatsListed[5];
  • Global.StatSlotsExplanationsTank[Global.WorkshopSettingsStatsTank[6]] = Global.StatsListed[6];
  • "Support"
  • Global.StatSlotsExplanationsSupport[Global.WorkshopSettingsStatsSupport[0]] = Global.StatsListed[0];
  • Global.StatSlotsExplanationsSupport[Global.WorkshopSettingsStatsSupport[1]] = Global.StatsListed[1];
  • Global.StatSlotsExplanationsSupport[Global.WorkshopSettingsStatsSupport[2]] = Global.StatsListed[2];
  • Global.StatSlotsExplanationsSupport[Global.WorkshopSettingsStatsSupport[3]] = Global.StatsListed[3];
  • Global.StatSlotsExplanationsSupport[Global.WorkshopSettingsStatsSupport[4]] = Global.StatsListed[4];
  • Global.StatSlotsExplanationsSupport[Global.WorkshopSettingsStatsSupport[5]] = Global.StatsListed[5];
  • Global.StatSlotsExplanationsSupport[Global.WorkshopSettingsStatsSupport[6]] = Global.StatsListed[6];
  • }
  • }
  • disabled rule("--------------------------------------------------SPAWN TELEPORT--------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Teleport DEF")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Melee)) == True;
  • Is Button Held(Event Player, Button(Crouch)) == False;
  • Is In Setup == True;
  • Is Team On Defense(Team Of(Event Player)) == True;
  • Is Game In Progress == False;
  • Has Spawned(Event Player) == True;
  • Is Alive(Event Player) == True;
  • Is In Spawn Room(Event Player) == True;
  • Global.WorkshopSettings[6] == True;
  • Filtered Array(Global.Maps, Current Array Element == Current Map) == True;
  • }
  • actions
  • {
  • Teleport(Event Player, Global.TeleportSpot);
  • }
  • }
  • rule("Back to spawn DEF")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Melee)) == True;
  • Is Button Held(Event Player, Button(Crouch)) == True;
  • Is In Setup == True;
  • Is Team On Defense(Team Of(Event Player)) == True;
  • Is Game In Progress == False;
  • Has Spawned(Event Player) == True;
  • Is Alive(Event Player) == True;
  • Global.WorkshopSettings[6] == True;
  • }
  • actions
  • {
  • Event Player.HeroList = Filtered Array(All Heroes, Current Array Element != Hero Of(Event Player));
  • Set Player Allowed Heroes(Event Player, Event Player.HeroList);
  • Wait(0.250, Ignore Condition);
  • Reset Player Hero Availability(Event Player);
  • }
  • }
  • disabled rule("--------------------------------------------------Set Up--------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Skip assemble your heroes")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Assembling Heroes == True;
  • Global.WorkshopSettings[0] == True;
  • }
  • actions
  • {
  • Set Match Time(0);
  • }
  • }
  • rule("Set Up")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is In Setup == True;
  • }
  • actions
  • {
  • Set Match Time(Global.WorkshopSettings[1]);
  • Global.TeamReady[0] = False;
  • Global.TeamReady[1] = False;
  • }
  • }
  • rule("Set Team 1 Ready")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Team 1;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Interact)) == True;
  • Is Button Held(Event Player, Button(Crouch)) == True;
  • Is In Setup == True;
  • Match Time > 10;
  • Is Game In Progress == False;
  • Has Spawned(Event Player) == True;
  • Is Alive(Event Player) == True;
  • Global.WorkshopSettings[2] == True;
  • }
  • actions
  • {
  • Global.TeamReady[0] = True;
  • Small Message(All Players(All Teams), String("{0} {1} {2}", Team Of(Event Player), Event Player, Custom String("set team ready")));
  • }
  • }
  • rule("Set Team 2 Ready")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Team 2;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Interact)) == True;
  • Is Button Held(Event Player, Button(Crouch)) == True;
  • Is In Setup == True;
  • Match Time > 10;
  • Is Game In Progress == False;
  • Has Spawned(Event Player) == True;
  • Is Alive(Event Player) == True;
  • Global.WorkshopSettings[2] == True;
  • }
  • actions
  • {
  • Global.TeamReady[1] = True;
  • Small Message(All Players(All Teams), String("{0} {1} {2}", Team Of(Event Player), Event Player, Custom String("set team ready")));
  • }
  • }
  • rule("Add time small break")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Ultimate)) == True;
  • Is Button Held(Event Player, Button(Crouch)) == False;
  • Is In Setup == True;
  • Is Game In Progress == False;
  • Has Spawned(Event Player) == True;
  • Is Alive(Event Player) == True;
  • Global.WorkshopSettings[2] == True;
  • Match Time > 0.750;
  • }
  • actions
  • {
  • Set Match Time(Match Time + Global.WorkshopSettings[3]);
  • Small Message(All Players(All Teams), String("{0} {1} {2}", Team Of(Event Player), Event Player, String("{0} {1} {2}",
  • Custom String("added"), Global.WorkshopSettings[3], Custom String("s"))));
  • Skip If(Team Of(Event Player) == Team 1, 1);
  • Global.TeamReady[1] = False;
  • Skip If(Team Of(Event Player) == Team 2, 1);
  • Global.TeamReady[0] = False;
  • Wait(1, Ignore Condition);
  • }
  • }
  • rule("Add time Break time")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • All;
  • All;
  • }
  • conditions
  • {
  • Is Button Held(Event Player, Button(Ultimate)) == True;
  • Is Button Held(Event Player, Button(Crouch)) == True;
  • Is In Setup == True;
  • Is Game In Progress == False;
  • Has Spawned(Event Player) == True;
  • Is Alive(Event Player) == True;
  • Global.WorkshopSettings[2] == True;
  • Match Time > 0.750;
  • }
  • actions
  • {
  • Set Match Time(Match Time + Global.WorkshopSettings[4]);
  • Small Message(All Players(All Teams), String("{0} {1} {2}", Team Of(Event Player), Event Player, String("{0} {1} {2}",
  • Custom String("added"), Global.WorkshopSettings[4], Custom String("s"))));
  • Skip If(Team Of(Event Player) == Team 1, 1);
  • Global.TeamReady[1] = False;
  • Skip If(Team Of(Event Player) == Team 2, 1);
  • Global.TeamReady[0] = False;
  • Wait(3, Ignore Condition);
  • }
  • }
  • rule("BOTH TEAMS READY")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.TeamReady[0] == True;
  • Global.TeamReady[1] == True;
  • Is In Setup == True;
  • Is Game In Progress == False;
  • }
  • actions
  • {
  • Set Match Time(5);
  • }
  • }
  • rule("Game Starting")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is In Setup == True;
  • Match Time < 0.500;
  • Is Game In Progress == False;
  • }
  • actions
  • {
  • Global.TeamReady[0] = False;
  • Global.TeamReady[1] = False;
  • }
  • }
  • disabled rule("--------------------------------------------------------------PLAYERS-----------------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Set DPS T1")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Team 1;
  • All;
  • }
  • conditions
  • {
  • Is In Setup == True;
  • Global.RoundNumber == 0;
  • Match Time < 1;
  • Array Contains(All Damage Heroes, Hero Of(Event Player)) == True;
  • }
  • actions
  • {
  • Global.T1DPS = Append To Array(Global.T1DPS, Event Player);
  • Event Player.Statsplace[0] = Global.WorkshopSettingsStatsDPS[0];
  • Event Player.Statsplace[1] = Global.WorkshopSettingsStatsDPS[1];
  • Event Player.Statsplace[2] = Global.WorkshopSettingsStatsDPS[2];
  • Event Player.Statsplace[3] = Global.WorkshopSettingsStatsDPS[3];
  • Event Player.Statsplace[4] = Global.WorkshopSettingsStatsDPS[4];
  • Event Player.Statsplace[5] = Global.WorkshopSettingsStatsDPS[5];
  • Event Player.Statsplace[6] = Global.WorkshopSettingsStatsDPS[6];
  • }
  • }
  • rule("Set DPS T2")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Team 2;
  • All;
  • }
  • conditions
  • {
  • Is In Setup == True;
  • Global.RoundNumber == 0;
  • Match Time < 1;
  • Array Contains(All Damage Heroes, Hero Of(Event Player)) == True;
  • }
  • actions
  • {
  • Global.T2DPS = Append To Array(Global.T2DPS, Event Player);
  • Event Player.Statsplace[0] = Global.WorkshopSettingsStatsDPS[0];
  • Event Player.Statsplace[1] = Global.WorkshopSettingsStatsDPS[1];
  • Event Player.Statsplace[2] = Global.WorkshopSettingsStatsDPS[2];
  • Event Player.Statsplace[3] = Global.WorkshopSettingsStatsDPS[3];
  • Event Player.Statsplace[4] = Global.WorkshopSettingsStatsDPS[4];
  • Event Player.Statsplace[5] = Global.WorkshopSettingsStatsDPS[5];
  • Event Player.Statsplace[6] = Global.WorkshopSettingsStatsDPS[6];
  • }
  • }
  • rule("Set Tank T1")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Team 1;
  • All;
  • }
  • conditions
  • {
  • Is In Setup == True;
  • Global.RoundNumber == 0;
  • Match Time < 1;
  • Array Contains(All Tank Heroes, Hero Of(Event Player)) == True;
  • }
  • actions
  • {
  • Global.T1Tank = Append To Array(Global.T1Tank, Event Player);
  • Event Player.Statsplace[0] = Global.WorkshopSettingsStatsTank[0];
  • Event Player.Statsplace[1] = Global.WorkshopSettingsStatsTank[1];
  • Event Player.Statsplace[2] = Global.WorkshopSettingsStatsTank[2];
  • Event Player.Statsplace[3] = Global.WorkshopSettingsStatsTank[3];
  • Event Player.Statsplace[4] = Global.WorkshopSettingsStatsTank[4];
  • Event Player.Statsplace[5] = Global.WorkshopSettingsStatsTank[5];
  • Event Player.Statsplace[6] = Global.WorkshopSettingsStatsTank[6];
  • }
  • }
  • rule("Set Tank T2")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Team 2;
  • All;
  • }
  • conditions
  • {
  • Is In Setup == True;
  • Global.RoundNumber == 0;
  • Match Time < 1;
  • Array Contains(All Tank Heroes, Hero Of(Event Player)) == True;
  • }
  • actions
  • {
  • Global.T2Tank = Append To Array(Global.T2Tank, Event Player);
  • Event Player.Statsplace[0] = Global.WorkshopSettingsStatsTank[0];
  • Event Player.Statsplace[1] = Global.WorkshopSettingsStatsTank[1];
  • Event Player.Statsplace[2] = Global.WorkshopSettingsStatsTank[2];
  • Event Player.Statsplace[3] = Global.WorkshopSettingsStatsTank[3];
  • Event Player.Statsplace[4] = Global.WorkshopSettingsStatsTank[4];
  • Event Player.Statsplace[5] = Global.WorkshopSettingsStatsTank[5];
  • Event Player.Statsplace[6] = Global.WorkshopSettingsStatsTank[6];
  • }
  • }
  • rule("Set Support T1")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Team 1;
  • All;
  • }
  • conditions
  • {
  • Is In Setup == True;
  • Global.RoundNumber == 0;
  • Match Time < 1;
  • Array Contains(All Support Heroes, Hero Of(Event Player)) == True;
  • }
  • actions
  • {
  • Global.T1Support = Append To Array(Global.T1Support, Event Player);
  • Event Player.Statsplace[0] = Global.WorkshopSettingsStatsSupport[0];
  • Event Player.Statsplace[1] = Global.WorkshopSettingsStatsSupport[1];
  • Event Player.Statsplace[2] = Global.WorkshopSettingsStatsSupport[2];
  • Event Player.Statsplace[3] = Global.WorkshopSettingsStatsSupport[3];
  • Event Player.Statsplace[4] = Global.WorkshopSettingsStatsSupport[4];
  • Event Player.Statsplace[5] = Global.WorkshopSettingsStatsSupport[5];
  • Event Player.Statsplace[6] = Global.WorkshopSettingsStatsSupport[6];
  • }
  • }
  • rule("Set Support T2")
  • {
  • event
  • {
  • Ongoing - Each Player;
  • Team 2;
  • All;
  • }
  • conditions
  • {
  • Is In Setup == True;
  • Global.RoundNumber == 0;
  • Match Time < 1;
  • Array Contains(All Support Heroes, Hero Of(Event Player)) == True;
  • }
  • actions
  • {
  • Global.T2Support = Append To Array(Global.T2Support, Event Player);
  • Event Player.Statsplace[0] = Global.WorkshopSettingsStatsSupport[0];
  • Event Player.Statsplace[1] = Global.WorkshopSettingsStatsSupport[1];
  • Event Player.Statsplace[2] = Global.WorkshopSettingsStatsSupport[2];
  • Event Player.Statsplace[3] = Global.WorkshopSettingsStatsSupport[3];
  • Event Player.Statsplace[4] = Global.WorkshopSettingsStatsSupport[4];
  • Event Player.Statsplace[5] = Global.WorkshopSettingsStatsSupport[5];
  • Event Player.Statsplace[6] = Global.WorkshopSettingsStatsSupport[6];
  • }
  • }
  • disabled rule("--------------------------------------------------------------------Rounds------------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Create HUD Text(Filtered Array(All Players(All Teams), Global.T2Support == True), Null, Custom String(
  • "Preset created by Olav#7365 (Discord)"), Null, Right, 0, Color(White), Color(White), Color(White), Visible To and String,
  • Visible Always);
  • }
  • }
  • rule("ROUND NUMBER")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Between Rounds == True;
  • }
  • actions
  • {
  • Global.RoundNumber = Global.RoundNumber + 1;
  • }
  • }
  • rule("Set score Escort")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Game Mode == Game Mode(Escort);
  • Is Between Rounds == True;
  • Global.WorkshopSettings[9] == False;
  • }
  • actions
  • {
  • Set Team Score(Team 2, 3);
  • }
  • }
  • rule("Set score Hybrid")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Game Mode == Game Mode(Hybrid);
  • Is Between Rounds == True;
  • Global.WorkshopSettings[9] == False;
  • }
  • actions
  • {
  • Set Team Score(Team 2, 3);
  • }
  • }
  • rule("Set score 2CP")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Game Mode == Game Mode(Assault);
  • Is Between Rounds == True;
  • Global.WorkshopSettings[9] == False;
  • }
  • actions
  • {
  • Set Team Score(Team 2, 2);
  • }
  • }
  • rule("End KOTH after 3 maps")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Between Rounds == True;
  • Global.RoundNumber == 3;
  • Current Game Mode == Game Mode(Control);
  • Global.WorkshopSettings[9] == False;
  • }
  • actions
  • {
  • Skip If(Team Score(Team 1) < Team Score(Team 2), 1);
  • Global.TeamScore = Team 1;
  • Skip If(Team Score(Team 1) > Team Score(Team 2), 1);
  • Global.TeamScore = Team 2;
  • Declare Team Victory(Global.TeamScore);
  • }
  • }
  • rule("End Escort after 2 rounds")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Between Rounds == True;
  • Global.RoundNumber == 2;
  • Current Game Mode == Game Mode(Escort);
  • Global.WorkshopSettings[9] == False;
  • }
  • actions
  • {
  • Declare Match Draw;
  • }
  • }
  • rule("End Hybrid after 2 rounds")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Between Rounds == True;
  • Global.RoundNumber == 2;
  • Current Game Mode == Game Mode(Hybrid);
  • Global.WorkshopSettings[9] == False;
  • }
  • actions
  • {
  • Declare Match Draw;
  • }
  • }
  • rule("End 2CP after 2 rounds")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Is Between Rounds == True;
  • Global.RoundNumber == 2;
  • Current Game Mode == Game Mode(Assault);
  • Global.WorkshopSettings[9] == False;
  • }
  • actions
  • {
  • Declare Match Draw;
  • }
  • }
  • disabled rule("----------------------------------------------------------------STATS CODE------------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Damage Dealt per player")
  • {
  • event
  • {
  • Player Dealt Damage;
  • All;
  • All;
  • }
  • conditions
  • {
  • Team Of(Event Player) != Team Of(Victim);
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Event Player.DamageDealt = Event Player.DamageDealt + Event Damage;
  • Event Player.StatsShown[Event Player.Statsplace[0]] = Event Player.DamageDealt;
  • }
  • }
  • rule("Damage Taken per player")
  • {
  • event
  • {
  • Player Took Damage;
  • All;
  • All;
  • }
  • conditions
  • {
  • Team Of(Attacker) != Team Of(Victim);
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Event Player.DamageTaken = Event Player.DamageTaken + Event Damage;
  • Event Player.StatsShown[Event Player.Statsplace[1]] = Event Player.DamageTaken;
  • }
  • }
  • rule("Healing Recieved per player")
  • {
  • event
  • {
  • Player Received Healing;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Was Health Pack == False;
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Event Player.HealingRecived = Event Player.HealingRecived + Event Healing;
  • Event Player.StatsShown[Event Player.Statsplace[2]] = Event Player.HealingRecived;
  • }
  • }
  • rule("Healing Dealt per player")
  • {
  • event
  • {
  • Player Dealt Healing;
  • All;
  • All;
  • }
  • conditions
  • {
  • Event Was Health Pack == False;
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Event Player.HealingDealt = Event Player.HealingDealt + Event Healing;
  • Event Player.StatsShown[Event Player.Statsplace[3]] = Event Player.HealingDealt;
  • }
  • }
  • rule("Eliminations per player")
  • {
  • event
  • {
  • Player Earned Elimination;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Event Player.Eliminations = Event Player.Eliminations + 1;
  • Event Player.StatsShown[Event Player.Statsplace[4]] = Event Player.Eliminations;
  • }
  • }
  • rule("Final Blows per player")
  • {
  • event
  • {
  • Player Dealt Final Blow;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Event Player.FinalBlows = Event Player.FinalBlows + 1;
  • Event Player.StatsShown[Event Player.Statsplace[5]] = Event Player.FinalBlows;
  • }
  • }
  • rule("Deaths per player")
  • {
  • event
  • {
  • Player Died;
  • All;
  • All;
  • }
  • conditions
  • {
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Event Player.Deaths = Event Player.Deaths + 1;
  • Event Player.StatsShown[Event Player.Statsplace[6]] = Event Player.Deaths;
  • }
  • }
  • rule("Damage dealt T1")
  • {
  • event
  • {
  • Player Dealt Damage;
  • Team 1;
  • All;
  • }
  • conditions
  • {
  • Team Of(Attacker) != Team Of(Victim);
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Global.TeamDamage[0] = Global.TeamDamage[0] + Event Damage;
  • }
  • }
  • rule("Damage dealt T2")
  • {
  • event
  • {
  • Player Dealt Damage;
  • Team 2;
  • All;
  • }
  • conditions
  • {
  • Team Of(Attacker) != Team Of(Victim);
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Global.TeamDamage[1] = Global.TeamDamage[1] + Event Damage;
  • }
  • }
  • rule("Healing dealt T1")
  • {
  • event
  • {
  • Player Dealt Healing;
  • Team 1;
  • All;
  • }
  • conditions
  • {
  • Event Was Health Pack == False;
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Global.TeamHealing[0] = Global.TeamHealing[0] + Event Healing;
  • }
  • }
  • rule("Healing dealt T2")
  • {
  • event
  • {
  • Player Dealt Healing;
  • Team 2;
  • All;
  • }
  • conditions
  • {
  • Event Was Health Pack == False;
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Global.TeamHealing[1] = Global.TeamHealing[1] + Event Healing;
  • }
  • }
  • disabled rule("------------------------------------------------------------------HUD-----------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Create HUD Text(Null, Null, Custom String("Preset created by Olav#7365 (Discord)"), Null, Right, 0, Color(White), Color(White),
  • Color(White), Visible To and String, Visible Always);
  • }
  • }
  • rule("HUD")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • "T1 Ready HUD"
  • Create HUD Text(Filtered Array(All Players(Team 1), Global.TeamReady[0] == True), Custom String("YOUR TEAM IS READY"), Null, Null,
  • Top, 2, Color(Blue), Color(White), Color(White), Visible To and String, Visible Never);
  • Create HUD Text(Filtered Array(All Players(Team 1), Global.TeamReady[1] == True), Custom String("ENEMY TEAM IS READY"), Null, Null,
  • Top, 3, Color(Red), Color(White), Color(White), Visible To and String, Visible Never);
  • "T2 Ready HUD"
  • Create HUD Text(Filtered Array(All Players(Team 2), Global.TeamReady[0] == True), Custom String("ENEMY TEAM IS READY"), Null, Null,
  • Top, 3, Color(Red), Color(White), Color(White), Visible To and String, Visible Never);
  • Create HUD Text(Filtered Array(All Players(Team 2), Global.TeamReady[1] == True), Custom String("YOUR TEAM IS READY"), Null, Null,
  • Top, 2, Color(Blue), Color(White), Color(White), Visible To and String, Visible Never);
  • "GUIDE"
  • Skip If(Current Game Mode == Game Mode(Control), 3);
  • Skip If(Global.WorkshopSettings[6] == False, 2);
  • Create HUD Text(Filtered Array(All Players(All Teams), Is In Setup == True), Null, Custom String(
  • "On defense press melee to teleport from spawn"), Null, Right, 7, Color(White), Color(Yellow), Color(White),
  • Visible To and String, Visible Never);
  • Create HUD Text(Filtered Array(All Players(All Teams), Is In Setup == True), Null, Custom String(
  • "On defense press Crouch+melee to change heroes"), Null, Right, 8, Color(White), Color(Yellow), Color(White),
  • Visible To and String, Visible Never);
  • Skip If(Global.WorkshopSettings[2] == False, 4);
  • Create HUD Text(Filtered Array(All Players(All Teams), Is In Setup == True), Null, String("{0} {1} {2}", Custom String(
  • "Press Ultimate to add"), Global.WorkshopSettings[3], Custom String("s")), Null, Right, 9, Color(White), Color(Red), Color(
  • White), Visible To and String, Visible Never);
  • Create HUD Text(Filtered Array(All Players(All Teams), Is In Setup == True), Null, String("{0} {1} {2}", Custom String(
  • "Press Crouch+Ultimate to add"), Global.WorkshopSettings[4], Custom String("s")), Null, Right, 10, Color(White), Color(Red),
  • Color(White), Visible To and String, Visible Never);
  • Create HUD Text(Filtered Array(All Players(All Teams), Is In Setup == True), Null, Custom String(
  • "Press Crouch+Interact to set your team ready"), Null, Right, 11, Color(White), Color(Purple), Color(White),
  • Visible To and String, Visible Never);
  • Create HUD Text(Filtered Array(All Players(All Teams), Is In Setup == True), Null, Custom String("Add time to unready"), Null,
  • Right, 12, Color(White), Color(Purple), Color(White), Visible To and String, Visible Never);
  • }
  • }
  • rule("T1 Small HUD")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.WorkshopSettings[5] == False;
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1DPS[0])), String("{0} - {1}", String("{0} - {1}",
  • Round To Integer(Global.T1DPS[0].StatsShown[1], To Nearest), Round To Integer(Global.T1DPS[0].StatsShown[2], To Nearest)),
  • String("{0} - {1}", Round To Integer(Global.T1DPS[0].StatsShown[3], To Nearest), Round To Integer(
  • Global.T1DPS[0].StatsShown[4], To Nearest)))), Null, Left, 2, Color(White), Color(Team 1), Color(White), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1DPS[1])), String("{0} - {1}", String("{0} - {1}",
  • Round To Integer(Global.T1DPS[1].StatsShown[1], To Nearest), Round To Integer(Global.T1DPS[1].StatsShown[2], To Nearest)),
  • String("{0} - {1}", Round To Integer(Global.T1DPS[1].StatsShown[3], To Nearest), Round To Integer(
  • Global.T1DPS[1].StatsShown[4], To Nearest)))), Null, Left, 3, Color(White), Color(Team 1), Color(White), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1Tank[0])), String("{0} - {1}", String("{0} - {1}",
  • Round To Integer(Global.T1Tank[0].StatsShown[1], To Nearest), Round To Integer(Global.T1Tank[0].StatsShown[2], To Nearest)),
  • String("{0} - {1}", Round To Integer(Global.T1Tank[0].StatsShown[3], To Nearest), Round To Integer(
  • Global.T1Tank[0].StatsShown[4], To Nearest)))), Null, Left, 5, Color(White), Color(Team 1), Color(White),
  • Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1Tank[1])), String("{0} - {1}", String("{0} - {1}",
  • Round To Integer(Global.T1Tank[1].StatsShown[1], To Nearest), Round To Integer(Global.T1Tank[1].StatsShown[2], To Nearest)),
  • String("{0} - {1}", Round To Integer(Global.T1Tank[1].StatsShown[3], To Nearest), Round To Integer(
  • Global.T1Tank[1].StatsShown[4], To Nearest)))), Null, Left, 6, Color(White), Color(Team 1), Color(White),
  • Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1Support[0])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T1Support[0].StatsShown[1], To Nearest), Round To Integer(
  • Global.T1Support[0].StatsShown[2], To Nearest)), String("{0} - {1}", Round To Integer(Global.T1Support[0].StatsShown[3],
  • To Nearest), Round To Integer(Global.T1Support[0].StatsShown[4], To Nearest)))), Null, Left, 8, Color(White), Color(Team 1),
  • Color(Team 1), Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1Support[1])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T1Support[1].StatsShown[1], To Nearest), Round To Integer(
  • Global.T1Support[1].StatsShown[2], To Nearest)), String("{0} - {1}", Round To Integer(Global.T1Support[1].StatsShown[3],
  • To Nearest), Round To Integer(Global.T1Support[1].StatsShown[4], To Nearest)))), Null, Left, 9, Color(White), Color(Team 1),
  • Color(Team 1), Visible To and String, Visible Always);
  • }
  • }
  • rule("T2 Small HUD")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.WorkshopSettings[5] == False;
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2DPS[0])), String("{0} - {1}", String("{0} - {1}",
  • Round To Integer(Global.T2DPS[0].StatsShown[1], To Nearest), Round To Integer(Global.T2DPS[0].StatsShown[2], To Nearest)),
  • String("{0} - {1}", Round To Integer(Global.T2DPS[0].StatsShown[3], To Nearest), Round To Integer(
  • Global.T2DPS[0].StatsShown[4], To Nearest)))), Null, Right, 1, Color(White), Color(Team 2), Color(White),
  • Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2DPS[1])), String("{0} - {1}", String("{0} - {1}",
  • Round To Integer(Global.T2DPS[1].StatsShown[1], To Nearest), Round To Integer(Global.T2DPS[1].StatsShown[2], To Nearest)),
  • String("{0} - {1}", Round To Integer(Global.T2DPS[1].StatsShown[3], To Nearest), Round To Integer(
  • Global.T2DPS[1].StatsShown[4], To Nearest)))), Null, Right, 2, Color(White), Color(Team 2), Color(White),
  • Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2Tank[0])), String("{0} - {1}", String("{0} - {1}",
  • Round To Integer(Global.T2Tank[0].StatsShown[1], To Nearest), Round To Integer(Global.T2Tank[0].StatsShown[2], To Nearest)),
  • String("{0} - {1}", Round To Integer(Global.T2Tank[0].StatsShown[3], To Nearest), Round To Integer(
  • Global.T2Tank[0].StatsShown[4], To Nearest)))), Null, Right, 3, Color(White), Color(Team 2), Color(White),
  • Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2Tank[1])), String("{0} - {1}", String("{0} - {1}",
  • Round To Integer(Global.T2Tank[1].StatsShown[1], To Nearest), Round To Integer(Global.T2Tank[1].StatsShown[2], To Nearest)),
  • String("{0} - {1}", Round To Integer(Global.T2Tank[1].StatsShown[3], To Nearest), Round To Integer(
  • Global.T2Tank[1].StatsShown[4], To Nearest)))), Null, Right, 4, Color(White), Color(Team 2), Color(White),
  • Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2Support[0])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T2Support[0].StatsShown[1], To Nearest), Round To Integer(
  • Global.T2Support[0].StatsShown[2], To Nearest)), String("{0} - {1}", Round To Integer(Global.T2Support[0].StatsShown[3],
  • To Nearest), Round To Integer(Global.T2Support[0].StatsShown[4], To Nearest)))), Null, Right, 5, Color(White), Color(Team 2),
  • Color(White), Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2Support[1])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T2Support[1].StatsShown[1], To Nearest), Round To Integer(
  • Global.T2Support[1].StatsShown[2], To Nearest)), String("{0} - {1}", Round To Integer(Global.T2Support[1].StatsShown[3],
  • To Nearest), Round To Integer(Global.T2Support[1].StatsShown[4], To Nearest)))), Null, Right, 6, Color(White), Color(Team 2),
  • Color(White), Visible To and String, Visible Always);
  • }
  • }
  • rule("T1 Large HUD")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.WorkshopSettings[5] == True;
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1DPS[0])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T1DPS[0].StatsShown[1], To Nearest), Round To Integer(Global.T1DPS[0].StatsShown[2],
  • To Nearest)), String("{0} - {1}", Round To Integer(Global.T1DPS[0].StatsShown[3], To Nearest), Round To Integer(
  • Global.T1DPS[0].StatsShown[4], To Nearest)))), Left, 2, Color(White), Color(White), Color(Team 1), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1DPS[1])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T1DPS[1].StatsShown[1], To Nearest), Round To Integer(Global.T1DPS[1].StatsShown[2],
  • To Nearest)), String("{0} - {1}", Round To Integer(Global.T1DPS[1].StatsShown[3], To Nearest), Round To Integer(
  • Global.T1DPS[1].StatsShown[4], To Nearest)))), Left, 3, Color(White), Color(White), Color(Team 1), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1Tank[0])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T1Tank[0].StatsShown[1], To Nearest), Round To Integer(Global.T1Tank[0].StatsShown[2],
  • To Nearest)), String("{0} - {1}", Round To Integer(Global.T1Tank[0].StatsShown[3], To Nearest), Round To Integer(
  • Global.T1Tank[0].StatsShown[4], To Nearest)))), Left, 5, Color(White), Color(White), Color(Team 1), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1Tank[1])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T1Tank[1].StatsShown[1], To Nearest), Round To Integer(Global.T1Tank[1].StatsShown[2],
  • To Nearest)), String("{0} - {1}", Round To Integer(Global.T1Tank[1].StatsShown[3], To Nearest), Round To Integer(
  • Global.T1Tank[1].StatsShown[4], To Nearest)))), Left, 6, Color(White), Color(White), Color(Team 1), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1Support[0])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T1Support[0].StatsShown[1], To Nearest), Round To Integer(
  • Global.T1Support[0].StatsShown[2], To Nearest)), String("{0} - {1}", Round To Integer(Global.T1Support[0].StatsShown[3],
  • To Nearest), Round To Integer(Global.T1Support[0].StatsShown[4], To Nearest)))), Left, 8, Color(White), Color(White), Color(
  • Team 1), Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T1Support[1])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T1Support[1].StatsShown[1], To Nearest), Round To Integer(
  • Global.T1Support[1].StatsShown[2], To Nearest)), String("{0} - {1}", Round To Integer(Global.T1Support[1].StatsShown[3],
  • To Nearest), Round To Integer(Global.T1Support[1].StatsShown[4], To Nearest)))), Left, 9, Color(White), Color(White), Color(
  • Team 1), Visible To and String, Visible Always);
  • }
  • }
  • rule("T2 Large HUD")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.WorkshopSettings[5] == True;
  • Global.WorkshopSettings[7] == False;
  • }
  • actions
  • {
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2DPS[0])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T2DPS[0].StatsShown[1], To Nearest), Round To Integer(Global.T2DPS[0].StatsShown[2],
  • To Nearest)), String("{0} - {1}", Round To Integer(Global.T2DPS[0].StatsShown[3], To Nearest), Round To Integer(
  • Global.T2DPS[0].StatsShown[4], To Nearest)))), Right, 1, Color(White), Color(White), Color(Team 2), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2DPS[1])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T2DPS[1].StatsShown[1], To Nearest), Round To Integer(Global.T2DPS[1].StatsShown[2],
  • To Nearest)), String("{0} - {1}", Round To Integer(Global.T2DPS[1].StatsShown[3], To Nearest), Round To Integer(
  • Global.T2DPS[1].StatsShown[4], To Nearest)))), Right, 2, Color(White), Color(White), Color(Team 2), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2Tank[0])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T2Tank[0].StatsShown[1], To Nearest), Round To Integer(Global.T2Tank[0].StatsShown[2],
  • To Nearest)), String("{0} - {1}", Round To Integer(Global.T2Tank[0].StatsShown[3], To Nearest), Round To Integer(
  • Global.T2Tank[0].StatsShown[4], To Nearest)))), Right, 3, Color(White), Color(White), Color(Team 2), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2Tank[1])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T2Tank[1].StatsShown[1], To Nearest), Round To Integer(Global.T2Tank[1].StatsShown[2],
  • To Nearest)), String("{0} - {1}", Round To Integer(Global.T2Tank[1].StatsShown[3], To Nearest), Round To Integer(
  • Global.T2Tank[1].StatsShown[4], To Nearest)))), Right, 4, Color(White), Color(White), Color(Team 2), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2Support[0])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T2Support[0].StatsShown[1], To Nearest), Round To Integer(
  • Global.T2Support[0].StatsShown[2], To Nearest)), String("{0} - {1}", Round To Integer(Global.T2Support[0].StatsShown[3],
  • To Nearest), Round To Integer(Global.T2Support[0].StatsShown[4], To Nearest)))), Right, 5, Color(White), Color(White), Color(
  • Team 2), Visible To and String, Visible Always);
  • Create HUD Text(Null, Null, Null, String("{0}: {1}", Hero Icon String(Hero Of(Global.T2Support[1])), String("{0} - {1}", String(
  • "{0} - {1}", Round To Integer(Global.T2Support[1].StatsShown[1], To Nearest), Round To Integer(
  • Global.T2Support[1].StatsShown[2], To Nearest)), String("{0} - {1}", Round To Integer(Global.T2Support[1].StatsShown[3],
  • To Nearest), Round To Integer(Global.T2Support[1].StatsShown[4], To Nearest)))), Right, 6, Color(White), Color(White), Color(
  • Team 2), Visible To and String, Visible Always);
  • }
  • }
  • rule("HUD STATS LISTED")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Global.WorkshopSettings[7] == False;
  • Global.WorkshopSettings[8] == False;
  • }
  • actions
  • {
  • Create HUD Text(Null, Null, String("{0} - {1}", String("{0} - {1}", Global.StatSlotsExplanationsDPS[1],
  • Global.StatSlotsExplanationsDPS[2]), String("{0} - {1}", Global.StatSlotsExplanationsDPS[3],
  • Global.StatSlotsExplanationsDPS[4])), Null, Left, 1, Color(White), Color(Team 1), Color(White), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, String("{0} - {1}", String("{0} - {1}", Global.StatSlotsExplanationsTank[1],
  • Global.StatSlotsExplanationsTank[2]), String("{0} - {1}", Global.StatSlotsExplanationsTank[3],
  • Global.StatSlotsExplanationsTank[4])), Null, Left, 4, Color(White), Color(Team 1), Color(White), Visible To and String,
  • Visible Always);
  • Create HUD Text(Null, Null, String("{0} - {1}", String("{0} - {1}", Global.StatSlotsExplanationsSupport[1],
  • Global.StatSlotsExplanationsSupport[2]), String("{0} - {1}", Global.StatSlotsExplanationsSupport[3],
  • Global.StatSlotsExplanationsSupport[4])), Null, Left, 7, Color(White), Color(Team 1), Color(White), Visible To and String,
  • Visible Always);
  • }
  • }
  • disabled rule("---------------------------------------------------------------MAP SPECIFIC-----------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • disabled rule("--------------------------------------------------------------------Control-----------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Busan")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Busan);
  • }
  • actions
  • {
  • Global.Maps = Append To Array(Global.Maps, Map(Busan));
  • }
  • }
  • rule("Ilios")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Ilios);
  • }
  • actions
  • {
  • Global.Maps = Append To Array(Global.Maps, Map(Ilios));
  • }
  • }
  • rule("Lijiang Tower")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Ilios);
  • }
  • actions
  • {
  • Global.Maps = Append To Array(Global.Maps, Map(Lijiang Tower));
  • }
  • }
  • rule("Nepal")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Nepal);
  • }
  • actions
  • {
  • Global.Maps = Append To Array(Global.Maps, Map(Nepal));
  • }
  • }
  • rule("Oasis")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Oasis);
  • }
  • actions
  • {
  • Global.Maps = Append To Array(Global.Maps, Map(Oasis));
  • }
  • }
  • disabled rule("---------------------------------------------------------------------Escort-----------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Dorado")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Dorado);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(36.015, 12, -32.759);
  • Global.Maps = Append To Array(Global.Maps, Map(Dorado));
  • }
  • }
  • rule("Havana")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Havana);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(-23.603, 14, -62.621);
  • Global.Maps = Append To Array(Global.Maps, Map(Havana));
  • }
  • }
  • rule("Junkertown")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Junkertown);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(-8.775, 13, -50.857);
  • Global.Maps = Append To Array(Global.Maps, Map(Junkertown));
  • }
  • }
  • rule("Rialto")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Rialto);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(61.340, 6.500, -27.658);
  • Global.Maps = Append To Array(Global.Maps, Map(Rialto));
  • }
  • }
  • rule("Route 66")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Route 66);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(31.328, 9.200, -5.557);
  • Global.Maps = Append To Array(Global.Maps, Map(Route 66));
  • }
  • }
  • rule("Watchpoint: Gibraltar")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Watchpoint: Gibraltar);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(32.573, 5, -72.575);
  • Global.Maps = Append To Array(Global.Maps, Map(Eichenwalde));
  • }
  • }
  • disabled rule("---------------------------------------------------------------------Hybrid-----------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Blizzworld")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Blizzard World);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(-6.940, 8, 53.547);
  • Global.Maps = Append To Array(Global.Maps, Map(Blizzard World));
  • }
  • }
  • rule("Eichenwalde")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Eichenwalde);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(13.138, 13, -83.933);
  • Global.Maps = Append To Array(Global.Maps, Map(Eichenwalde));
  • }
  • }
  • rule("Hollywood")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Hollywood);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(-23.477, 10, 10.443);
  • Global.Maps = Append To Array(Global.Maps, Map(Hollywood));
  • }
  • }
  • rule("King's Row")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(King's Row);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(-35.884, 11, -14.170);
  • Global.Maps = Append To Array(Global.Maps, Map(King's Row));
  • }
  • }
  • rule("Numbani")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Numbani);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(96.769, 7.950, -11.276);
  • Global.Maps = Append To Array(Global.Maps, Map(Numbani));
  • }
  • }
  • disabled rule("--------------------------------------------------------------------Assault-----------------------------------------------------")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
  • rule("Hanamura")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Hanamura);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(13.188, 9, -20.593);
  • Global.Maps = Append To Array(Global.Maps, Map(Hanamura));
  • }
  • }
  • rule("Temple of Anubis")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Temple of Anubis);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(-49.097, 12, 34.624);
  • Global.Maps = Append To Array(Global.Maps, Map(Temple of Anubis));
  • }
  • }
  • rule("Volskaya industries")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • conditions
  • {
  • Current Map == Map(Volskaya Industries);
  • }
  • actions
  • {
  • Global.TeleportSpot = Vector(-27.669, 4, 97.413);
  • Global.Maps = Append To Array(Global.Maps, Map(Volskaya Industries));
  • }
  • }
  • disabled rule("Credits")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • actions
  • {
  • Create HUD Text(Null, Null, Custom String("Preset created by Olav#7365 (Discord)"), Null, Right, 0, Color(White), Color(White),
  • Color(White), Visible To and String, Visible Always);
  • }
  • }
  • disabled rule("Scrim Preset with stats created by Olav")
  • {
  • event
  • {
  • Ongoing - Global;
  • }
  • }
Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord
Workshop.codes - Background image