3D Particle Effects

You can add 3d particle effects to your world using the effect commands:
*addeffect [PLAYER_NAME],[EFFECT_NUM],[worldX],[worldY],[worldz](,[SCALE],[PARAM])
*addeffectall [num],[worldX],[worldY],[worldz],[scale],[param]
*addspreadeffect [PLAYER_NAME],[spread_type],[spread_range],[spread_amount],[effectnum],[worldX],[worldY],[worldz],[scale],[param]
*addspreadeffectall [spread_type],[spread_range],[spread_amount],[effectnum],[worldX],[worldY],[worldz],[scale],[param]

e.g Example of the command used from script:

Event( "&command", "Particles" )
{
    $effectNum = 10
    $scale = 100
    $param = 0
    *addeffect %PLAYER%,$effectNum,$gPlayerWorldX,$gPlayerWorldY,0,$scale,$param
}

Note if the WorldZ is set to 0, the particle effect appears on the landscape. The [SCALE] and [PARAM] parameters are optional and ignored by many of the effects.

Currently supported values for the 'EFFECT_NUM' parameter are:

Spread Effects

Using the *addspreadeffect or *addspreadeffectall commands is effectively the same as triggering *addeffect or *addeffectall multiple times, with the location of each effect instance controlled by the spread type and range. Currently the spread type can be:
0 - Effects are distributed randomnly in a circular radius around the location given
1 - Effects are distributed evenly in a circular radius around the location given