Return to post
rule("spawn 1")
{
event
{
Ongoing - Global;
}
conditions
{
Global.K == 1;
}
actions
{
Disable Built-In Game Mode Respawning(Players In Slot(4, Team 1));
Disable Built-In Game Mode Respawning(Players In Slot(5, Team 1));
Kill(Players In Slot(4, Team 1), Null);
Kill(Players In Slot(5, Team 1), Null);
}
}
rule("point 1")
{
event
{
Ongoing - Global;
}
conditions
{
Is Game In Progress == True;
}
actions
{
Pause Match Time;
}
}
rule("Rule 3")
{
event
{
Ongoing - Global;
}
conditions
{
Players Within Radius(Vector(0.739, 11.296, -48.144), 15, Team 2, Off) == True;
}
actions
{
Chase Global Variable At Rate(A, 40, 1, Destination and Rate);
}
}
rule("Rule 4")
{
event
{
Ongoing - Global;
}
actions
{
Create HUD Text(All Players(Team 2), Global.A, Null, Null, Top, 0, White, White, White, Visible To and String, Default Visibility);
}
}
rule("Rule 5")
{
event
{
Player Died;
Team 2;
All;
}
actions
{
Global.A = 0;
Stop Chasing Global Variable(A);
}
}
rule("Rule 6")
{
event
{
Ongoing - Each Player;
Team 2;
All;
}
actions
{
Create Effect(All Players(All Teams), Light Shaft, Red, Vector(-31.478, 8.507, -21.595), 10, Visible To Position and Radius);
}
}
rule("Rule 9")
{
event
{
Ongoing - Global;
}
conditions
{
Global.A == 40;
}
actions
{
Destroy All Effects;
Destroy All HUD Text;
Create Effect(All Players(All Teams), Sphere, Green, Vector(-56.613, 13.442, -32.502), 1, Visible To Position and Radius);
Create Effect(All Players(All Teams), Sphere, Green, Vector(-67.210, 15.441, -7.549), 1, Visible To Position and Radius);
Create Effect(All Players(All Teams), Sphere, Green, Vector(-48.738, 17.448, 23.731), 1, Visible To Position and Radius);
Create Effect(All Players(All Teams), Sphere, Green, Vector(-13.286, 11.452, -14.722), 1, Visible To Position and Radius);
Create Effect(All Players(All Teams), Light Shaft, Red, Vector(-78.095, 11.450, -30.582), 15, Visible To Position and Radius);
Global.F = 1;
Disable Built-In Game Mode Respawning(Players In Slot(0, Team 1));
Kill(Players In Slot(0, Team 1), Null);
Enable Built-In Game Mode Respawning(Players In Slot(4, Team 1));
Big Message(All Players(All Teams), Custom String("Find Orb Keys to Unlock Mansion"));
Big Message(All Players(All Teams), Custom String("Interact on orbs to activate"));
Create In-World Text(All Players(Team 2), Icon String(Circle), Vector(-67.210, 15.441, -7.549), 2, Do Not Clip,
Visible To Position and String, Green, Default Visibility);
Create In-World Text(All Players(Team 2), Icon String(Circle), Vector(-48.738, 17.448, 23.731), 2, Do Not Clip,
Visible To Position and String, Green, Default Visibility);
Create In-World Text(All Players(Team 2), Icon String(Circle), Vector(-13.286, 11.452, -14.722), 2, Do Not Clip,
Visible To Position and String, Green, Default Visibility);
Create Effect(All Players(All Teams), Sphere, Green, Vector(-37.928, 12.509, -37.350), 1, Visible To Position and Radius);
Create In-World Text(All Players(Team 2), Icon String(Circle), Vector(-37.928, 12.509, -37.350), 2, Do Not Clip,
Visible To Position and String, Green, Default Visibility);
Create In-World Text(All Players(Team 2), Icon String(Circle), Vector(-56.613, 13.442, -32.502), 2, Do Not Clip,
Visible To Position and String, Green, Default Visibility);
Global.I = 0;
Global.J = 1;
Global.K = 0;
}
}
rule("Rule 9")
{
event
{
Ongoing - Global;
}
conditions
{
Players Within Radius(Vector(0.739, 11.296, -48.144), 15, Team 2, Off) == False;
}
actions
{
Stop Chasing Global Variable(A);
}
}
rule("Rule 10")
{
event
{
Ongoing - Each Player;
Team 2;
All;
}
conditions
{
Players Within Radius(Vector(-13.286, 11.452, -14.722), 4, Team 2, Off) == True;
Is Button Held(Event Player, Interact) == True;
}
actions
{
Create Effect(All Players(All Teams), Ring, Yellow, Vector(-13.286, 11.452, -14.722), 1, Visible To Position and Radius);
Global.B += 1;
Wait(99, Ignore Condition);
}
}
rule("")
{
event
{
Ongoing - Each Player;
Team 2;
All;
}
conditions
{
Players Within Radius(Vector(-48.738, 17.448, 23.731), 4, Team 2, Off) == True;
Is Button Held(Event Player, Interact) == True;
}
actions
{
Create Effect(All Players(All Teams), Ring, Yellow, Vector(-48.738, 17.448, 23.731), 1, Visible To Position and Radius);
Global.B += 1;
Wait(99, Ignore Condition);
}
}
rule("Rule 12")
{
event
{
Ongoing - Each Player;
Team 2;
All;
}
conditions
{
Is Button Held(Event Player, Interact) == True;
Players Within Radius(Vector(-67.210, 15.441, -7.549), 4, Team 2, Off) == True;
}
actions
{
Create Effect(All Players(All Teams), Ring, Yellow, Vector(-67.210, 15.441, -7.549), 1, Visible To Position and Radius);
Global.B += 1;
Wait(99, Ignore Condition);
}
}
rule("Rule 13")
{
event
{
Ongoing - Each Player;
Team 2;
All;
}
conditions
{
Is Button Held(Event Player, Interact) == True;
Players Within Radius(Vector(-56.613, 13.442, -32.502), 4, Team 2, Off) == True;
}
actions
{
Create Effect(All Players(All Teams), Ring, Yellow, Vector(-56.613, 13.442, -32.502), 1, Visible To Position and Radius);
Global.B += 1;
Wait(99, Ignore Condition);
}
}
rule("Rule 14")
{
event
{
Ongoing - Each Player;
Team 2;
All;
}
conditions
{
Players Within Radius(Vector(-37.928, 12.509, -37.350), 4, Team 2, Off) == True;
Is Button Held(Event Player, Interact) == True;
}
actions
{
Create Effect(All Players(All Teams), Ring, Yellow, Vector(-37.928, 12.509, -37.350), 1, Visible To Position and Radius);
Global.B += 1;
Wait(99, Ignore Condition);
}
}
rule("Rule 14")
{
event
{
Ongoing - Global;
}
conditions
{
Global.B == 5;
}
actions
{
Destroy All Effects;
Kill(All Players(Team 1), Null);
Global.C = 1;
Create HUD Text(All Players(Team 2), Global.D, Null, Null, Top, 0, White, White, White, Visible To and String, Default Visibility);
Global.G = 1;
Disable Built-In Game Mode Respawning(Players In Slot(2, Team 1));
Disable Built-In Game Mode Respawning(Players In Slot(3, Team 1));
Disable Built-In Game Mode Respawning(Players In Slot(4, Team 1));
Kill(Players In Slot(2, Team 1), Null);
Kill(Players In Slot(3, Team 1), Null);
Kill(Players In Slot(4, Team 1), Null);
Big Message(All Players(Team 2), Custom String("Eliminate Roadhog and Take Back the Mansion"));
Destroy All In-World Text;
Global.J = 0;
Global.K = 0;
Disable Built-In Game Mode Respawning(Players In Slot(1, Team 1));
Kill(Players In Slot(1, Team 1), Null);
}
}
rule("Rule 15")
{
event
{
Player Died;
Team 1;
Slot 5;
}
conditions
{
Global.G == 1;
}
actions
{
Global.G = 0;
Destroy All Effects;
Destroy All HUD Text;
Create Effect(All Players(Team 2), Light Shaft, Yellow, Vector(-55.162, 13.724, 13.626), 5, Visible To Position and Radius);
Global.E = 1;
Global.F = 1;
Disable Built-In Game Mode Respawning(All Players(Team 1));
Big Message(All Players(All Teams), Custom String("Get To Extraction"));
Create In-World Text(All Players(Team 2), Icon String(Flag), Vector(-55.162, 13.724, 13.626), 5, Do Not Clip,
Visible To Position and String, Yellow, Default Visibility);
Disable Built-In Game Mode Respawning(Players In Slot(5, Team 1));
}
}
rule("Rule 4")
{
event
{
Ongoing - Global;
}
actions
{
Create HUD Text(All Players(Team 2), Global.D, Null, Null, Top, 0, White, White, White, Visible To and String, Default Visibility);
}
}
rule("Rule 5")
{
event
{
Player Died;
Team 2;
All;
}
actions
{
Global.D = 0;
Stop Chasing Global Variable(A);
}
}
rule("Rule 5")
{
event
{
Player Died;
Team 2;
All;
}
actions
{
Global.D = 0;
Stop Chasing Global Variable(D);
}
}
rule("Rule 9")
{
event
{
Ongoing - Global;
}
conditions
{
Players Within Radius(Vector(-95.737, 13.844, -84.396), 15, Team 2, Off) == False;
}
actions
{
Stop Chasing Global Variable(D);
}
}
rule("Rule 22")
{
event
{
Ongoing - Global;
}
conditions
{
Global.E == True;
Players Within Radius(Vector(-55.162, 13.724, 13.626), 5, Team 2, Off) == True;
}
actions
{
Declare Team Victory(Team 2);
}
}
rule("Rule 22")
{
event
{
Ongoing - Each Player;
Team 1;
All;
}
conditions
{
Global.F == True;
Is In Spawn Room(Players In Slot(2, Team 1)) == True;
Is In Spawn Room(Players In Slot(3, Team 1)) == True;
Is In Spawn Room(Players In Slot(4, Team 1)) == True;
Is In Spawn Room(Players In Slot(1, Team 1)) == True;
}
actions
{
Teleport(Players In Slot(2, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(-78.693, 13.522, -9.228)), Vector(-34.064, 16.489, 26.225)), Vector(-17.253, 11.519, -8.428)), Vector(-40.306, 12.557,
-39.477))));
Teleport(Players In Slot(3, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(-78.693, 13.522, -9.228)), Vector(-34.064, 16.489, 26.225)), Vector(-17.253, 11.519, -8.428)), Vector(-40.306, 12.557,
-39.477))));
Teleport(Players In Slot(4, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(-78.693, 13.522, -9.228)), Vector(-34.064, 16.489, 26.225)), Vector(-17.253, 11.519, -8.428)), Vector(-40.306, 12.557,
-39.477))));
Teleport(Players In Slot(1, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(-78.693, 13.522, -9.228)), Vector(-34.064, 16.489, 26.225)), Vector(-17.253, 11.519, -8.428)), Vector(-40.306, 12.557,
-39.477))));
}
}
rule("Rule 23")
{
event
{
Ongoing - Each Player;
Team 1;
All;
}
conditions
{
Global.G == 1;
Is In Spawn Room(Players In Slot(5, Team 1)) == True;
}
actions
{
Teleport(Players In Slot(5, Team 1), Vector(-123.422, 14.349, -90.308));
}
}
rule("Rule 24")
{
event
{
Ongoing - Global;
}
actions
{
Create Effect(All Players(All Teams), Ring, Yellow, Vector(0.739, 11.296, -48.144), 15, Visible To Position and Radius);
}
}
rule("Rule 26")
{
event
{
Ongoing - Global;
}
conditions
{
Is In Spawn Room(All Players(Team 2)) == True;
}
actions
{
Big Message(All Players(All Teams), Custom String("Defend the Cafe for 40 Seconds"));
}
}
rule("Rule 25")
{
event
{
Ongoing - Global;
}
conditions
{
Players Within Radius(Vector(-96.232, 13.799, -85.684), 15, Team 2, Off) == True;
Global.G == 1;
}
actions
{
Enable Built-In Game Mode Respawning(Players In Slot(5, Team 1));
Big Message(All Players(Team 2), Custom String("KILL ROADHOG"));
}
}
rule("Rule 26")
{
event
{
Ongoing - Global;
}
conditions
{
Is In Spawn Room(Players In Slot(1, Team 1)) == True;
Global.K == 1;
}
actions
{
Teleport(Players In Slot(1, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(21.372, 11.325, -54.035)), Vector(-0.122, 12.781, -23.240)), Vector(-31.275, 11.343, -31.369)), Vector(-7.386, 11.302,
-70.287))));
Disable Built-In Game Mode Respawning(Players In Slot(4, Team 1));
Disable Built-In Game Mode Respawning(Players In Slot(5, Team 1));
Kill(Players In Slot(4, Team 1), Null);
Kill(Players In Slot(5, Team 1), Null);
}
}
rule("Rule 27")
{
event
{
Ongoing - Global;
}
conditions
{
Is In Spawn Room(Players In Slot(2, Team 1)) == True;
Global.K == 1;
}
actions
{
Teleport(Players In Slot(2, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(21.372, 11.325, -54.035)), Vector(-0.122, 12.781, -23.240)), Vector(-31.275, 11.343, -31.369)), Vector(-7.386, 11.302,
-70.287))));
Disable Built-In Game Mode Respawning(Players In Slot(4, Team 1));
Disable Built-In Game Mode Respawning(Players In Slot(5, Team 1));
Kill(Players In Slot(4, Team 1), Null);
Kill(Players In Slot(5, Team 1), Null);
}
}
rule("Rule 28")
{
event
{
Ongoing - Global;
}
conditions
{
Is In Spawn Room(Players In Slot(0, Team 1)) == True;
}
actions
{
Teleport(Players In Slot(0, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(21.372, 11.325, -54.035)), Vector(-0.122, 12.781, -23.240)), Vector(-31.275, 11.343, -31.369)), Vector(-7.386, 11.302,
-70.287))));
Disable Built-In Game Mode Respawning(Players In Slot(4, Team 1));
Disable Built-In Game Mode Respawning(Players In Slot(5, Team 1));
Kill(Players In Slot(4, Team 1), Null);
Kill(Players In Slot(5, Team 1), Null);
}
}
rule("Rule 29")
{
event
{
Ongoing - Each Player;
Team 1;
Slot 2;
}
conditions
{
Is In Spawn Room(Players In Slot(2, Team 1)) == True;
Global.F == True;
}
actions
{
Teleport(Players In Slot(2, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(-78.693, 13.522, -9.228)), Vector(-34.064, 16.489, 26.225)), Vector(-17.253, 11.519, -8.428)), Vector(-40.306, 12.557,
-39.477))));
Disable Built-In Game Mode Respawning(Players In Slot(0, Team 1));
Kill(Players In Slot(0, Team 1), Null);
Enable Built-In Game Mode Respawning(Players In Slot(3, Team 1));
Enable Built-In Game Mode Respawning(Players In Slot(4, Team 1));
}
}
rule("Rule 30")
{
event
{
Ongoing - Global;
}
conditions
{
Is In Spawn Room(Players In Slot(3, Team 1)) == True;
Global.F == True;
}
actions
{
Teleport(Players In Slot(3, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(-78.693, 13.522, -9.228)), Vector(-34.064, 16.489, 26.225)), Vector(-17.253, 11.519, -8.428)), Vector(-40.306, 12.557,
-39.477))));
Disable Built-In Game Mode Respawning(Players In Slot(0, Team 1));
Kill(Players In Slot(0, Team 1), Null);
Enable Built-In Game Mode Respawning(Players In Slot(3, Team 1));
Enable Built-In Game Mode Respawning(Players In Slot(4, Team 1));
}
}
rule("Rule 31")
{
event
{
Ongoing - Global;
}
conditions
{
Is In Spawn Room(Players In Slot(4, Team 1)) == True;
Global.F == True;
}
actions
{
Teleport(Players In Slot(4, Team 1), Randomized Array(Append To Array(Append To Array(Append To Array(Append To Array(Empty Array,
Vector(-78.693, 13.522, -9.228)), Vector(-34.064, 16.489, 26.225)), Vector(-17.253, 11.519, -8.428)), Vector(-40.306, 12.557,
-39.477))));
Disable Built-In Game Mode Respawning(Players In Slot(0, Team 1));
Kill(Players In Slot(0, Team 1), Null);
Enable Built-In Game Mode Respawning(Players In Slot(3, Team 1));
Enable Built-In Game Mode Respawning(Players In Slot(4, Team 1));
}
}
rule("Rule 32")
{
event
{
Ongoing - Each Player;
Team 2;
All;
}
conditions
{
Players Within Radius(Vector(-31.669, 11.626, -22.580), 10, Team 2, Off) == True;
Global.I == 1;
}
actions
{
Kill(Event Player, Null);
}
}
rule("Rule 33")
{
event
{
Ongoing - Global;
}
actions
{
Global.I = 1;
}
}
rule("Rule 32")
{
event
{
Ongoing - Each Player;
Team 2;
All;
}
conditions
{
Players Within Radius(Vector(-79.637, 11.431, -33.914), 15, Team 2, Off) == True;
Global.J == 1;
}
actions
{
Kill(Event Player, Null);
}
}
rule("Rule 35")
{
event
{
Ongoing - Global;
}
actions
{
Global.K = 1;
}
}
rule("Rule 36")
{
event
{
Ongoing - Each Player;
All;
All;
}
actions
{
Start Heal Over Time(Players In Slot(0, Team 2), Null, 9999, 10);
}
}