Difference between revisions of "DCS func effectSmokeBig"
From DCS World Wiki - Hoggitworld.com
Line 49: | Line 49: | ||
|examples= The following creates a large smoke and fire effect with a density of 0.75 | |examples= The following creates a large smoke and fire effect with a density of 0.75 | ||
local someZone = trigger.misc.getZone('whatever').point | local someZone = trigger.misc.getZone('whatever').point | ||
+ | someZone.y = land.getHeight({x = someZone.x, y = someZone.z}) -- compensate for ground level | ||
trigger.action.effectSmokeBig(someZone, 3, 0.75) | trigger.action.effectSmokeBig(someZone, 3, 0.75) | ||