Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2011, 9:41:33 PM (14 years ago)
Author:
jo
Message:

Drone (almost) doesn't shoot at it's owner anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai/src/orxonox/controllers/ArtificialController.cc

    r7843 r8238  
    10261026    void ArtificialController::doFire()
    10271027    {
     1028        if(ArtificialController::friendlyFire()) return;//catch if the bot would do friendlyFire
    10281029        if(!bSetupWorked)//setup: find out which weapons are active ! hard coded: laser is "0", lens flare is "1", ...
    10291030        {
     
    10651066        }
    10661067    }
     1068
    10671069   
    10681070    void ArtificialController::setBotLevel(float level)
Note: See TracChangeset for help on using the changeset viewer.