getEffectDensity
Client-side
Server-side
Shared
Pair: setEffectDensity
This page is incomplete! Help wanted!
Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.
This function gets the density of certain effect.
Syntax
getEffectDensity ( )Code Examples
client
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)