anyone know how to make a script have an elimination game have infinite time, no draw, and no capture point?
So to make it clear
Is game in progress==True -> disable time and capture points
If player gets a final blow -> modify team score add 1
If team score==[number of kills to get to win] -> declare team victory
Then
rule("Disable timer")
{
event
{
Ongoing - Global;
}
conditions
{
Is Game In Progress == True;
}
actions
{
Set Match Time(3599);
Wait(3000, Ignore Condition);
Loop;
}
}
rule("Disable capture point")
{
event
{
Ongoing - Global;
}
conditions
{
Is Game In Progress == True;
}
actions
{
Disable Built-In Game Mode Completion;
}
}
rule("If getting a kill, augment the kill count (team 1)")
{
event
{
Player dealt final blow;
Team 1;
All;
}
actions
{
Modify Global Variable(K, Add, 1);
}
}
rule("If getting a kill, augment the kill count (team 2)")
{
event
{
Player dealt final blow;
Team 1;
All;
}
actions
{
Modify Global Variable(L, Add, 1);
}
}
rule("If k==20 declare player victory of team 1")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Global Variable(K) == 20;
}
actions
{
Declare Team Victory(Team 2);
}
}
rule("If l==20 declare player victory of team 2")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Global Variable(L) == 20;
}
actions
{
Declare Team Victory(Team 2);
}
}
Or SB8D4
In this code, the objectives are still here but they won’t do anything, the timer will always be above 10 wins and it is a basic team deathmatch score count if a player gets a kill it will add one to their score, the game will end when a team gets 20 kills
This also has been done in rpg