SetEffectDensity: Difference between revisions
Jump to navigation
Jump to search
(create page) |
(No difference)
|
Revision as of 12:13, 22 June 2014
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)