GetEffectDensity: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''theEffect:''' The [[effect]] to get density of. | ||
===Example=== | ===Example=== |
Revision as of 14:25, 23 June 2014
Syntax
float getEffectDensity ( effect theEffect )
Required Arguments
- theEffect: The effect to get density of.
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)