createparticle
The createparticle command is used to spawn a normal that can be picked up.



"then(createparticle, x position, y position, particle)"


Argument Function
x position The x position, relative to the object, where the particle will be created.
y position The y position, relative to the object, where the particle will be created.
particle The particle that will be created.



And example of the createparticle command used in a script is as follows...




The following script spawns some particles when the block is damaged.


if(takedamage)
{
then(repeat,3)
then(createparticle,16,16,brick)
}