Difference between revisions of "DCS func effectSmokeBig"
From DCS World Wiki - Hoggitworld.com
(2 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
Density is any value from 0 to 1. For example 0.5 | Density is any value from 0 to 1. For example 0.5 | ||
+ | |||
+ | Name is a unique name given to the smoke mark to be used with removing it. | ||
+ | |||
|rtnType= function | |rtnType= function | ||
Line 43: | Line 46: | ||
|reqType4= | |reqType4= | ||
− | |optType1= | + | |optType1= string |
+ | |||
+ | |optName1= name | ||
− | |optType2= | + | |optType2= |
|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) | ||
Line 56: | Line 62: | ||
}} | }} | ||
[[Category:Singleton Functions|effectSmokeBig]] | [[Category:Singleton Functions|effectSmokeBig]] | ||
+ | [[Category:Game Patch 2.5.1|effectSmokeBig]] |