Files
Recompilable-gscs-for-BO2-z…/patch_mp/maps/mp/teams/_teamset.gsc
2020-06-13 01:37:00 -07:00

31 lines
658 B
Plaintext

init() //checked matches cerberus output
{
if ( !isDefined( game[ "flagmodels" ] ) )
{
game[ "flagmodels" ] = [];
}
if ( !isDefined( game[ "carry_flagmodels" ] ) )
{
game[ "carry_flagmodels" ] = [];
}
if ( !isDefined( game[ "carry_icon" ] ) )
{
game[ "carry_icon" ] = [];
}
game[ "flagmodels" ][ "neutral" ] = "mp_flag_neutral";
}
customteam_init() //checked matches cerberus output
{
if ( getDvar( "g_customTeamName_Allies" ) != "" )
{
setdvar( "g_TeamName_Allies", getDvar( "g_customTeamName_Allies" ) );
}
if ( getDvar( "g_customTeamName_Axis" ) != "" )
{
setdvar( "g_TeamName_Axis", getDvar( "g_customTeamName_Axis" ) );
}
}