by Major Cooke » Thu Jun 28, 2018 11:39 pm
I'm having trouble finding a way to make monsters detect and drop items based on if they died extremely or not, but the thing is, I'm trying to avoid using xdeath states because not every monster has them. In order to maintain compatibility and affect all monsters from my mod and NOT from my mod alike, there seems to be no apparent way to do this and even checking for the damagetype is potentially folly.
I wonder, could "DamageTypeReceived" be appended with a ".Extreme" after it?
So if a rocket has a damagetype "Nunchuck" and it has the +EXTREMEDEATH flag, the DamageTypeReceived for the victim becomes "Nunchuck.Extreme" or something along those lines. That way people can tell if a monster died to extreme damage irregardless of having an xdeath state or not.
I'm having trouble finding a way to make monsters detect and drop items based on if they died extremely or not, but the thing is, I'm trying to avoid using xdeath states because not every monster has them. In order to maintain compatibility and affect all monsters from my mod and NOT from my mod alike, there seems to be no apparent way to do this and even checking for the damagetype is potentially folly.
I wonder, could "DamageTypeReceived" be appended with a ".Extreme" after it?
So if a rocket has a damagetype "Nunchuck" and it has the +EXTREMEDEATH flag, the DamageTypeReceived for the victim becomes "Nunchuck.Extreme" or something along those lines. That way people can tell if a monster died to extreme damage [b]irregardless of having an xdeath state or not.[/b]