Solved Get if you hit an entitys' back?

Discussion in 'Plugin Development' started by belven000, Feb 6, 2014.

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

    belven000

  2. belven000
    What's wrong with the methods you already found?
     
  3. Offline

    belven000

    Well it just seems to present theories rather than an actual answer and I find it hard to put it into a method myself. I can't test it right now but if possible I would like a working example :D
     
  4. Offline

    Jugglernaught

    belven000
    I assume you wish for this as some type of rpg PvP plugin yes? If so, I would suggest having a player hit event that checks if the player that got hit .canSee the player that is hitting them. If not, then you can set the Boolean to true and do whatever you wish to happen. Tagged me if you have more questions. belven000
     
  5. Offline

    belven000

    @Jugglernaught You sir are a genius, I can't test this yet but that is such a good way of doing it :D
     
  6. Offline

    DatCookiez

Thread Status:
Not open for further replies.

Share This Page