#no clue how to summon an explosion
1 messages · Page 1 of 1 (latest)
You want a grenade pickup?
no i just want an explosion to spawn
not a grendade but just like
the explosion itself
You need a grenade
oh okay so theres no way to just spawn the raw explosion?
cause with the code above im able to spanw the grenade but it still have to go through the timer
i want the explosion to be instantanious
Something like this should work i think
TimedGrenadeProjectile grenade = (TimedGrenadeProjectile)Projectile.Create(ItemType.GrenadeHE, ev.Player.Position);
grenade.FuseEnd();
alr ill try it
There's an Explode method in ExplosionGrenade that only creates a visual explosion
alright, is there any way to add the damage effects too?
something like this?

You can't cast LabApi wrappers to base game stuff
Use Projectile.Create(...).Base
Also, isn't there a wrapper for Grenade projectiles? It would be more ideal to use that
the wrapper might be explosiongrenade but ill check
yea explosive grenade projectile
omg this might be it
Yup
Yeah that looks good