Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Spawning an explosion at players location?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Spawning an explosion at players location? (Read 968 times)
Kurly
December 16, 2011, 06:45:11 PM
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
Ad Bot
Advertisement
Amade
December 16, 2011, 08:24:42 PM
You would just create a projectile at the location.
Even simpler: use the spawnExplosion event (
%player.spawnExplosion(ProjectileDatablock, scale);
)
Chrono
December 16, 2011, 09:14:19 PM
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
December 17, 2011, 10:54:15 AM
Thanks for your help.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Spawning an explosion at players location?