SetEffectDensity: Difference between revisions
Jump to navigation
Jump to search
(create page) |
mNo edit summary |
||
Line 28: | Line 28: | ||
==See also== | ==See also== | ||
{{Client_Effects_functions}} | {{Client_Effects_functions}} | ||
[[ru: | [[ru:setEffectDensity]] |
Revision as of 12:22, 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)