mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-24 14:10:30 -05:00
Reset quest completion from replaceFunc
This commit is contained in:
19
scripts/zm/replaced/_zm_stats.gsc
Normal file
19
scripts/zm/replaced/_zm_stats.gsc
Normal file
@ -0,0 +1,19 @@
|
||||
#include common_scripts\utility;
|
||||
#include maps\mp\_utility;
|
||||
#include maps\mp\zombies\_zm_utility;
|
||||
#include maps\mp\gametypes_zm\_globallogic_score;
|
||||
#include maps\mp\zombies\_zm_pers_upgrades;
|
||||
#include maps\mp\zombies\_zm_weapons;
|
||||
#include maps\mp\gametypes_zm\_globallogic;
|
||||
#include maps\mp\zombies\_zm_stats;
|
||||
|
||||
set_global_stat( stat_name, value )
|
||||
{
|
||||
if ( is_true( level.zm_disable_recording_stats ) )
|
||||
return;
|
||||
|
||||
if ( issubstr( tolower( stat_name ), "sq_" ) || issubstr( tolower( stat_name ), "navcard_" ) )
|
||||
value = 0;
|
||||
|
||||
self setdstat( "PlayerStatsList", stat_name, "StatValue", value );
|
||||
}
|
Reference in New Issue
Block a user