-
assigned issue to
- edited description
[#modding] It doesn't appear possible to determine the source (grenade/what exploded) from ...
Marked for crossposting by: exsanguination microtubules
Message (jump):
<exsanguination microtubules> It doesn't appear possible to determine the source (grenade/what exploded) from take damage events on the victim.
Physics.ExplosionDamage()
doesn't pass itsWhatExploded
parameter onward to theGO.TakeDamage()
method as a Source, so that source is lost in the event propagation. In addition, further down the pipeline,Physics.ProcessTakeDamage
doesn't pass the source onward to related minevents, likeBeforeApplyDamageEvent
.Trying to mod in an effect that can respond intelligently to the phase of an explosion, so I want to inspect the phase of the grenade (i.e. if it's unphased, make the target phase out; if it's modded phase-harmonic, do nothing, etc...)
Comments (3)
-
repo owner -
- changed status to open
-
- changed status to resolved
Improved in next update.
- Log in to comment
should include phase of explosion