Bittiez

Member
I'm scratching my head because this should be very simple,


C#:
Expand Collapse Copy
        public override void OnDeath(Container c)
        {
            base.OnDeath(c);

            //ExplodeFX.Air.CreateInstance(this, Map, 15, 3).Send();
            var e = new AirExplodeEffect(this, Map, 15, 2);
            e.Send();
        }

I've tried this numerous different ways and cannot get this to work, but using the default [ExplodeFX command works as expected.

No errors, just nothing happens in game. I tried the commented out way, I tried using this.Location, and I also tried using this.Location.Clone2D() in case location was a ref and being removed when the mobile dies but that was not the case either, any ideas what I am missing?
 

Donations

Total amount
$50.00
Goal
$500.00

Shards

Back