// IW6 GSC SOURCE
// Generated by https://github.com/xensik/gsc-tool

main()
{
    self.animtree = "";
    self.additionalassets = "";
    self.team = "axis";
    self.type = "human";
    self.subclass = "elite";
    self.accuracy = 0.2;
    self.health = 250;
    self.grenadeweapon = "fraggrenade";
    self.grenadeammo = 0;
    self.secondaryweapon = "";
    self.sidearm = "p226";

    if ( isai( self ) )
    {
        self setengagementmindist( 256.0, 0.0 );
        self setengagementmaxdist( 768.0, 1024.0 );
    }

    switch ( codescripts\character::get_random_weapon( 8 ) )
    {
        case 0:
            self.weapon = "cbjms";
            break;
        case 1:
            self.weapon = "cbjms";
            break;
        case 2:
            self.weapon = "cbjms";
            break;
        case 3:
            self.weapon = "cbjms";
            break;
        case 4:
            self.weapon = "pp19";
            break;
        case 5:
            self.weapon = "pp19+acogsmg_sp";
            break;
        case 6:
            self.weapon = "pp19+eotechsmg_sp";
            break;
        case 7:
            self.weapon = "pp19+reflexsmg_sp";
            break;
    }

    character\character_elite_pmc_smg_b_elite::main();
}

spawner()
{
    self setspawnerteam( "axis" );
}

precache()
{
    character\character_elite_pmc_smg_b_elite::precache();
    precacheitem( "cbjms" );
    precacheitem( "cbjms" );
    precacheitem( "cbjms" );
    precacheitem( "cbjms" );
    precacheitem( "pp19" );
    precacheitem( "pp19+acogsmg_sp" );
    precacheitem( "pp19+eotechsmg_sp" );
    precacheitem( "pp19+reflexsmg_sp" );
    precacheitem( "p226" );
    precacheitem( "fraggrenade" );
}
