This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi,
there is this Trigger ->
Unit - Any Unit takes Fatal or Non-Fatal Any damage (from Any effects)
How can I extract the information about how much damage was dealt? There is no such thing as "Get Damage Done" under unit.
It's kinda like the "triggering unit" command, in fact it may show in light grey at the bottom how to do it, there is often helpful advice down there.
What you're looking for is "triggering damage amount"
set a "real" variable = triggering damage amount
Events Unit - Any Unit takes Fatal or Non-Fatal Any damage (from Any effects) Local Variables DamageAmount = 0.0 <Real> Conditions Actions Variable - Set DamageAmount = (Triggering damage amount)
Well, that was easy :D
Thanks everyone who helped.
Hi,
there is this Trigger ->
How can I extract the information about how much damage was dealt? There is no such thing as "Get Damage Done" under unit.
It's kinda like the "triggering unit" command, in fact it may show in light grey at the bottom how to do it, there is often helpful advice down there.
What you're looking for is "triggering damage amount"
set a "real" variable = triggering damage amount
Well, that was easy :D
Thanks everyone who helped.