Resolved Checking if player is under attack?

Discussion in 'Developer Support' started by Serene, Jun 1, 2016.

  1. Is there a method already for checking if the player is under attack? Tried using the AnimationId I got from the dev toolkit, 424 when under attack, but that didn't work. Right now I'm checking if an NPC with a specific name is targetting the player, and if so then passing true since this npc would only be targetting if it is attacking. It works but looks really bad.
    #1 Serene, Jun 1, 2016
    Last edited: Jun 1, 2016
  2. Best Answer:
    Post #2 by SlashnHax, Jun 1, 2016
  3. Checking for Npcs targetting the player is the most logical way.

Share This Page