Agressive bats help

Discussion in 'Plugin Development' started by TheTinySpider, Jun 8, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    TheTinySpider

    So I've been trying to make "Wisps". Basicly an invincible bat with a small slime on the back.
    I got the damage from the bat to the slime etc working.
    I now have a problem with making the bats attacking the player, I've extended the bat class with zombie class.
    Now the bat is just spazzing around on the ground :/

    Does anyone have a piece of code that does work with bats?
    Would be greaty appreciated!

    (And yes I know about the tutorial but that doesnt help this problem)
     
  2. Offline

    Cybermaxke

    I will look into it. :)
     
    TheTinySpider likes this.
  3. Offline

    TheUpdater

    make if player moves 6x6x6 radius around bat it targets it or somthing
     
  4. Offline

    stirante

    I think he meant that bat targets player but it's not flying. Maybe try to combine bat's ai with zombie targeting.
     
  5. Offline

    Cybermaxke

  6. Offline

    TheTinySpider

    Cybermaxke Awesome, do they work? Also may I use some of the code for my project? (I'll credit you)
     
  7. Offline

    Cybermaxke

    Yes, they are working. ;)
    And sure, you can use some of my code.
     
  8. Offline

    AstramG

    Cybermaxke Any chance of updating this? It seems like an amazing plugin.
     
Thread Status:
Not open for further replies.

Share This Page