SetEffectDensity
Jump to navigation
Jump to search
Syntax
void setEffectDensity(effect, density)
Required Arguments
- effect: The name of the effect.
- density: The level of density.
Example
Click to collapse [-]
Client[Lua] addCommandHandler("sed", function (cmd) local x, y, z = getElementPosition (localPlayer) local effect = createEffect ("fire_large", x, y, z) setEffectDensity(effect, 2) end)