Blockland Forums > Modification Help
Spawning an explosion at players location?
Pages: (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.
Pages: (1/1)