Help with interacting with entities

Discussion in 'Plugin Development' started by Prothean_IGS, Apr 7, 2014.

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

    Prothean_IGS

    I'm wondering how I could stop a NPC from moving. I figured I could just cancel when they move, but there doesn't seem to be a EntityMoveEvent.

    Along with that what would be the best way of keeping a NPC from taking damage? Like is there an actual method to set the NPC Invincible? Or should I just cancel it in an entity damage event?
     
  2. Offline

    Fred12i12i

  3. Offline

    Prothean_IGS

    Fred12i12i That seems more if I wanted every NPC to not be able to move, I am trying to create Vendor Style NPCs so only a few would need to not move. I feel like there has to be an easier way. Kind of like how there's a freeze plugin for players, I just need it for NPCs
     
Thread Status:
Not open for further replies.

Share This Page