Difference between revisions of "DCS func effectSmokeBig"
From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= effectSmokeBig |vNum= 2.5.1 |par1= trigger.action |par2= |par3= |par4= |desc= Creates a large smoke effect on a...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
|desc= Creates a large smoke effect on a vec3 point of a specified type and density. | |desc= Creates a large smoke effect on a vec3 point of a specified type and density. | ||
− | 1 small smoke and fire | + | 1 = small smoke and fire |
− | 2 medium smoke and fire | + | 2 = medium smoke and fire |
− | 3 large smoke and fire | + | 3 = large smoke and fire |
− | 4 huge smoke and fire | + | 4 = huge smoke and fire |
− | 5 small smoke | + | 5 = small smoke |
− | 6 medium smoke | + | 6 = medium smoke |
− | 7 large smoke | + | 7 = large smoke |
− | 8 huge smoke | + | 8 = huge smoke |
+ | |||
+ | 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 41: | Line 46: | ||
|reqType4= | |reqType4= | ||
− | |optType1= | + | |optType1= string |
+ | |||
+ | |optName1= name | ||
+ | |||
+ | |optType2= | ||
− | | | + | |examples= The following creates a large smoke and fire effect with a density of 0.75 |
+ | 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) | ||
− | |||
|related= | |related= | ||
[[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} | [[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} | ||
Line 51: | Line 62: | ||
}} | }} | ||
[[Category:Singleton Functions|effectSmokeBig]] | [[Category:Singleton Functions|effectSmokeBig]] | ||
+ | [[Category:Game Patch 2.5.1|effectSmokeBig]] |