-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug.del
More file actions
29 lines (26 loc) · 775 Bytes
/
debug.del
File metadata and controls
29 lines (26 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
rule: "[Debug] show load"
Event.OngoingGlobal
{
CreateHudText(AllPlayers(), <"SL: <0>\nSLA: <1>\nSLP: <2>", ServerLoad(), ServerLoadAverage(), ServerLoadPeak()>);
}
rule: "[Debug] skip assembling heroes"
Event.OngoingGlobal
if(IsAssemblingHeroes())
{
SetMatchTime(0);
}
rule: "[Debug] match time 0"
Event.OngoingGlobal
if(IsButtonHeld(HostPlayer(), Button.Interact))
{
SetMatchTime(0);
}
rule: "[Debug] spawn dummy bots"
Event.OngoingGlobal
if(IsButtonHeld(HostPlayer(), Button.Crouch))
if(IsButtonHeld(HostPlayer(), Button.Melee))
{
while(CountOf(AllPlayers()) < 12)
CreateDummyBot(RandomValueInArray(AllHeroes()), FilteredArray([Team.Team1, Team.Team2], CountOf(AllPlayers(ArrayElement())) < 6), -1, PositionOf(HostPlayer()));
Wait(1);
}