Disable mugshot's pain state if PainChance is 0

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Disable mugshot's pain state if PainChance is 0

Disable mugshot's pain state if PainChance is 0

by Blue Shadow » Mon Feb 04, 2019 10:14 am

I have a poison mechanic in my mod for the player which does damage overtime. The damage done could kill the player if untreated. The damage is also painless, which is achieved by setting 'PainChance "<dmgtype>", 0' on the player. My problem is, that doesn't appear to stop the mugshot from changing states to pain when the player receives damage from the poison.

So could something be added to make the player's mugshot not react to pain if the player actor itself doesn't suffer pain?

Top