MWSE / MWSE

Morrowind Script Extender v2
https://mwse.github.io/MWSE/
GNU General Public License v2.0
114 stars 37 forks source link

[feature request] Enable Spell Reference in ProjectileExpired Event #127

Closed Madcliff closed 2 years ago

Madcliff commented 6 years ago

Would it be possible to expose the spell object for ProjectileExpired event. Currently you can only get the weapon reference.

C3pa commented 3 years ago

Isn't this one fixed https://mwse.readthedocs.io/en/latest/lua/event/projectileExpire.html ?

C3pa commented 3 years ago

Is e.mobile.object what you need?

C3pa commented 2 years ago

You can do e.mobile.reference to get the associated tes3spell object or e.mobile.spellInstance to get the associated tes3magicSourceInstance object.