Have AI stop shooting when all enemies destroyed.

Модератор: chaos_1


It my account of longheart, I have saved a combat replay called 'ai shooting after win'.

After defeating all of this astro lord's ships and starbase, the ai can clearly be seen shooting nukes and lasers into space. This is a waste of ammo, which happens to cost me crystals, credits, you name it.

I suggest that when all the enemies are destroyed, that the ai stop shooting.

Аватара пользователя
Кандидат в Лорды
 
13




    The fight doesn't end immediately, in connection with this AI can shoot ammunition. It's not bug.

    Аватара пользователя
    Служба поддержки
     
    520




      Yes, hence my suggestion - put in a simple if statement into the code that if all the enemies are destroyed, the ai doesn't shoot. Depending on how this is coded, you could even improve the computational speed of the server since if all the enemies are destroyed, the ai does not even need to run.

      This is done for aliens - when the last alien is destroyed, the alien ai stops everything. Why can't this be done for the captain ai too?

      Аватара пользователя
      Кандидат в Лорды
       
      13




        Вернуться в Gameplay improvement and ideas

        Кто сейчас на конференции

        Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 8