GetEffectDensity
Jump to navigation
Jump to search
Syntax
float getEffectDensity ( effect theEffect )
Required Arguments
- effect: The name of the effect.
Example
Click to collapse [-]
Client[Lua] addCommandHandler("ses", function (cmd) local density = 4 local x, y, z = getElementPosition (localPlayer) local effect = createEffect ("cement", x, y, z) setEffectDensity (effect, density) getEffectDensity (effect) end)