Jump to content

[Question] XML: A way to detect when you receive damage.


Recommended Posts

Hello,

 

I'm wondering if there is a way to "trigger_effect" when you receive damage of any kind. I don't see an "onSelfDamaged" or "onSelfReceiveDamage". I only see triggers for when you issue damage to someone/something else.

 

I do see "onSelfDamagedSelf" but I assume this means when you "shoot yourself in the foot" so-to-speak?

 

Thank you.

Link to comment
Share on other sites

Hey there. I think the triggers you are looking for are:

 

onOtherDamagedSelf

 

and

 

onOtherAttackedSelf

 

 

I haven't played with these to confirm it, but I would imagine the first one is what you are actually looking for, as that comes across as "When any other thing damages you".

 

Do let me know if that helps :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...