mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-19 07:07:58 -05:00
added debug mod for debugging scripts
Only supports _zm_ai_dogs for now. More scripts will be added soon.
This commit is contained in:
20
debugging mod/_zm_bot.gsc
Normal file
20
debugging mod/_zm_bot.gsc
Normal file
@ -0,0 +1,20 @@
|
||||
init()
|
||||
{
|
||||
debug_tracker();
|
||||
}
|
||||
|
||||
debug_tracker()
|
||||
{
|
||||
numberOfScriptsBeingLogged = 0;
|
||||
if ( !isDefined( level.debugLogging ) )
|
||||
{
|
||||
level.debugLogging = 1;
|
||||
}
|
||||
if ( isDefined( level.custom_zm_ai_dogs_loaded ) && level.custom_zm_ai_dogs_loaded )
|
||||
{
|
||||
level.debugLogging_zm_ai_dogs = 1;
|
||||
numberOfScriptsBeingLogged++;
|
||||
}
|
||||
level.player_starting_points = 1000000;
|
||||
}
|
||||
|
Reference in New Issue
Block a user