Merge pull request #706 from WantedDV/bots

Hotfix: comment out dev blocks
This commit is contained in:
Maurice Heumann 2023-05-15 06:45:25 +01:00 committed by GitHub
commit ccab08261e
2 changed files with 8 additions and 0 deletions

Binary file not shown.

View File

@ -100,10 +100,12 @@ function __init__()
level.enemyEmpActive = &emp::enemyEmpActive; level.enemyEmpActive = &emp::enemyEmpActive;
/*
/# /#
level.botDevguiCmd = &bot_devgui_cmd; level.botDevguiCmd = &bot_devgui_cmd;
level thread system_devgui_gadget_think(); level thread system_devgui_gadget_think();
#/ #/
*/
setDvar("bot_enableWallrun", 1); setDvar("bot_enableWallrun", 1);
} }
@ -198,6 +200,7 @@ function on_bot_connect()
function on_bot_spawned() function on_bot_spawned()
{ {
self.bot.goalTag = undefined; self.bot.goalTag = undefined;
/*
/# /#
weapon = undefined; weapon = undefined;
@ -223,6 +226,7 @@ function on_bot_spawned()
self teams::set_player_model(self.team, weapon); self teams::set_player_model(self.team, weapon);
} }
#/ #/
*/
} }
function on_bot_killed() function on_bot_killed()
@ -782,6 +786,7 @@ function get_enemies(on_radar)
enemies = self GetEnemies(); enemies = self GetEnemies();
/*
/# /#
for (i = 0; i < enemies.size; i++) for (i = 0; i < enemies.size; i++)
{ {
@ -792,6 +797,7 @@ function get_enemies(on_radar)
} }
} }
#/ #/
*/
if (on_radar && !self has_radar()) if (on_radar && !self has_radar())
{ {
@ -974,6 +980,7 @@ function dive_to_prone(exit_stance)
} }
/*
/# /#
// Devgui // Devgui
@ -1115,3 +1122,4 @@ function fixed_spawn_override()
} }
#/ #/
*/