Blockland Forums > Modification Help
Spawning an explosion at players location?
(1/1)
Kurly:
Title says it all really...how would I go about spawning an explosion of some sort at a players current location.

Thanks in advance,
Kurly
Amade:
You would just create a projectile at the location.

Even simpler: use the spawnExplosion event ( %player.spawnExplosion(ProjectileDatablock, scale); )
Chrono:
When using the event spawnExplosion function, you need to include the sourceclient as well. Otherwise it does nothing but look pretty.

.spawnExplosion(ProjectileDatablock, scale, sourceClient);
Kurly:
Thanks for your help.
Navigation
Message Index

Go to full version