APGRoboCop / rcbotold

RCbot created by Cheeseh
GNU General Public License v3.0
12 stars 4 forks source link

Use Deagle Laser Sights in Opposing Force #10

Open rcbotCheeseh opened 3 months ago

rcbotCheeseh commented 3 months ago

Regarding https://github.com/APGRoboCop/rcbotold/blob/9843844161ab6c8062417eb9e25d7954a2a320a1/dlls/bot_client.cpp#L2194

Why not try

    else if (gBotGlobals.IsMod(MOD_GEARBOX))
    {
        switch (iWeaponIndex)
        {
        case GEARBOX_WEAPON_EAGLE:
                       pBot->UseRPGLaser();
                       break;
        }
    }

in the hope that whenever the bot picks up the Deagle it will immediately use laser

APGRoboCop commented 1 month ago

Thanks I'll see if that works!