Jump to content

Photo

Value of damage before it is applied

script damage actor health value

  • Please log in to reply
No replies to this topic

#1
AsianSpy

AsianSpy

    Enthusiast

  • Supporter
  • PipPip
  • 121 posts

Hello, I am wondering about getting the damage done to a player before it is applied, the full on effect I want to achieve is negating damage below a certain percentage of the players health

 

 i.e an enemy does 15% of players health as damage but the threshold is 30% so no damage is done

an enemy who does 40% of damage is done while the threshold is 30 and that 40% is applied in full

 

anyone know?


Edited by AsianSpy, 19 March 2019 - 03:59 AM.






Also tagged with one or more of these keywords: script, damage, actor, health, value

IPB skins by Skinbox
Page loaded in: 1.006 seconds