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...") |
|||
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 | ||
|rtnType= function | |rtnType= function | ||
Line 45: | Line 47: | ||
|optType2= | |optType2= | ||
− | |examples= | + | |examples= The following creates a large smoke and fire effect with a density of 0.75 |
+ | local someZone = trigger.misc.getZone('whatever').point | ||
+ | trigger.action.smokeEffectBig(someZone, 3, 0.75) | ||
+ | |||
|related= | |related= | ||
[[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} | [[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} |