GetEffectDensity: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{{Client function}} | {{Client function}} | ||
{{New items|4.0132|1.4 r6208| | {{New items|4.0132|1.4 r6208| | ||
Tnis function gets the density of certain [[effect]]. | |||
}} | }} | ||
Revision as of 14:24, 23 June 2014
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)