Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Checking if player is under attack?

( ͡° ͜ʖ ͡°)
Joined
Mar 30, 2015
Messages
2,416
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.
 
Last edited:
Joined
Dec 10, 2014
Messages
3,332
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 being targetting if it is attacking. It works but looks really bad.
Checking for Npcs targetting the player is the most logical way.
 
Top